docs/esp8266/tutorial: Fix typo in do_connect() network example.
Fixes issue #2065.
This commit is contained in:
parent
ce2d34d74f
commit
9b4502b7e8
@ -62,7 +62,7 @@ connect to your WiFi network::
|
||||
print('connecting to network...')
|
||||
sta_if.active(True)
|
||||
sta_if.connect('<essid>', '<password>')
|
||||
while not network.isconnected():
|
||||
while not sta_if.isconnected():
|
||||
pass
|
||||
print('network config:', sta_if.ifconfig())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user