File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ Now you can proceed to scan for networks::
3131 wlan.connect(net.ssid, auth=(net.sec, 'mywifikey'), timeout=5000)
3232 while not wlan.isconnected():
3333 machine.idle() # save power while waiting
34- print('WLAN connection succeeded!)
34+ print('WLAN connection succeeded!' )
3535 break
3636
3737Assigning a static IP address when booting
3838------------------------------------------
3939
40- If you want your WiPy to connect to your home router while after boot-up, and with a fixed
41- IP address so that you can access it via telnet or FTP, use the following script::
40+ If you want your WiPy to connect to your home router after boot-up, and with a fixed
41+ IP address so that you can access it via telnet or FTP, use the following script as /flash/boot.py ::
4242
4343 import machine
4444 from network import WLAN
You can’t perform that action at this time.
0 commit comments