mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
docs/esp8266/tutorial: Fix typo in do_connect() network example.
Fixes issue #2065.
This commit is contained in:
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user