From f3308daa6fb74bc42f764b505d738a82bca8b508 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Mon, 16 Nov 2015 23:30:12 -0800 Subject: [PATCH] docs/wipy: Fixed some typos in the WiPy's tutorials. --- docs/wipy/tutorial/wlan.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/wipy/tutorial/wlan.rst b/docs/wipy/tutorial/wlan.rst index 40e38cbeae..396bbac0f2 100644 --- a/docs/wipy/tutorial/wlan.rst +++ b/docs/wipy/tutorial/wlan.rst @@ -31,14 +31,14 @@ Now you can proceed to scan for networks:: wlan.connect(net.ssid, auth=(net.sec, 'mywifikey'), timeout=5000) while not wlan.isconnected(): machine.idle() # save power while waiting - print('WLAN connection succeeded!) + print('WLAN connection succeeded!') break Assigning a static IP address when booting ------------------------------------------ -If you want your WiPy to connect to your home router while after boot-up, and with a fixed -IP address so that you can access it via telnet or FTP, use the following script:: +If you want your WiPy to connect to your home router after boot-up, and with a fixed +IP address so that you can access it via telnet or FTP, use the following script as /flash/boot.py:: import machine from network import WLAN