docs/esp8266/tutorial: Fix typo in do_connect() network example.

Fixes issue #2065.
This commit is contained in:
Damien George 2016-05-11 13:40:28 +01:00
parent ce2d34d74f
commit 9b4502b7e8

View File

@ -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())