Skip to content

Commit 496a601

Browse files
committed
esp8266: Shrink help text by a few lines, to fit in smaller windows.
1 parent f873a50 commit 496a601

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

esp8266/help.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)