File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,18 +32,15 @@ STATIC const char *help_text =
3232"Welcome to MicroPython!\n"
3333"\n"
3434"For online docs please visit http://docs.micropython.org/en/latest/esp8266/ .\n"
35- "To get diagnostic information to include in bug reports, execute 'import port_diag'.\n"
35+ "For diagnostic information to include in bug reports execute 'import port_diag'.\n"
3636"\n"
3737"Basic WiFi configuration:\n"
3838"\n"
3939"import network\n"
4040"sta_if = network.WLAN(network.STA_IF)\n"
41- "# Scan for available access points:\n"
42- "sta_if.scan()\n"
43- "# Connect to an AP\n"
44- "sta_if.connect(\"<AP_name>\", \"<password>\")\n"
45- "# Check for successful connection:\n"
46- "sta_if.isconnected()\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"
4744"# Change name/password of ESP8266's AP:\n"
4845"ap_if = network.WLAN(network.AP_IF)\n"
4946"ap_if.config(essid=\"<AP_NAME>\", authmode=network.AUTH_WPA_WPA2_PSK, password=\"<password>\")\n"
You can’t perform that action at this time.
0 commit comments