docs: Update to use new WLAN argument names for ssid/security/key.

Addresses issue #8083.
This commit is contained in:
iabdalkader
2022-06-04 12:32:08 +02:00
committed by Damien George
parent 82b8a2d193
commit 6e868d47dc
5 changed files with 24 additions and 24 deletions

View File

@@ -37,7 +37,7 @@ First activate the station interface::
Then connect to your WiFi network::
>>> sta_if.connect('<your ESSID>', '<your password>')
>>> sta_if.connect('<your SSID>', '<your key>')
To check if the connection is established use::
@@ -61,7 +61,7 @@ connect to your WiFi network::
if not sta_if.isconnected():
print('connecting to network...')
sta_if.active(True)
sta_if.connect('<essid>', '<password>')
sta_if.connect('<ssid>', '<key>')
while not sta_if.isconnected():
pass
print('network config:', sta_if.ifconfig())