We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f16bec6 commit d60cb8eCopy full SHA for d60cb8e
1 file changed
esp8266/help.c
@@ -37,7 +37,7 @@ STATIC const char *help_text =
37
"Basic WiFi configuration:\n"
38
"\n"
39
"import network\n"
40
-"sta_if = network.WLAN(network.STA_IF)\n"
+"sta_if = network.WLAN(network.STA_IF); sta_if.active(True)\n"
41
"sta_if.scan() # Scan for available access points\n"
42
"sta_if.connect(\"<AP_name>\", \"<password>\") # Connect to an AP\n"
43
"sta_if.isconnected() # Check for successful connection\n"
0 commit comments