Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
f3308daa
Commit
f3308daa
authored
Nov 16, 2015
by
Dave Hylands
Committed by
danicampora
Nov 18, 2015
Browse files
docs/wipy: Fixed some typos in the WiPy's tutorials.
parent
994ff738
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/wipy/tutorial/wlan.rst
View file @
f3308daa
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment