From 39c623a851332e818b41e074ed862bf61d701f9f Mon Sep 17 00:00:00 2001 From: gijsio <67470426+gijsio@users.noreply.github.com> Date: Wed, 22 Jul 2020 14:26:08 +0200 Subject: [PATCH] updated example --- content/tutorials/networks/wlan.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/tutorials/networks/wlan.md b/content/tutorials/networks/wlan.md index 8d95c9d..177869c 100644 --- a/content/tutorials/networks/wlan.md +++ b/content/tutorials/networks/wlan.md @@ -26,6 +26,7 @@ wlan = WLAN(mode=WLAN.AP) wlan.init(ssid="hello world", auth=None) #use the line below to apply a password #wlan.init(ssid="hi", auth=(WLAN.WPA2, "eightletters")) +print(wlan.ifconfig(id=1)) #id =1 signifies the AP interface ``` The device will not be able to access the internet, but you will be able to run a simple webserver. By default, the ip address will be configured to `192.168.4.1`.