Commit f3308daa authored by Dave Hylands's avatar Dave Hylands Committed by danicampora
Browse files

docs/wipy: Fixed some typos in the WiPy's tutorials.

parent 994ff738
...@@ -31,14 +31,14 @@ Now you can proceed to scan for networks:: ...@@ -31,14 +31,14 @@ Now you can proceed to scan for networks::
wlan.connect(net.ssid, auth=(net.sec, 'mywifikey'), timeout=5000) wlan.connect(net.ssid, auth=(net.sec, 'mywifikey'), timeout=5000)
while not wlan.isconnected(): while not wlan.isconnected():
machine.idle() # save power while waiting machine.idle() # save power while waiting
print('WLAN connection succeeded!) print('WLAN connection succeeded!')
break break
Assigning a static IP address when booting 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 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:: IP address so that you can access it via telnet or FTP, use the following script as /flash/boot.py::
import machine import machine
from network import WLAN from network import WLAN
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment