summaryrefslogtreecommitdiffstatshomepage
path: root/docs/wipy/quickref.rst
diff options
context:
space:
mode:
authorMartijn Koster <mak-github@greenhills.co.uk>2015-10-26 19:41:14 +0000
committerdanicampora <daniel@wipy.io>2015-10-26 23:36:51 +0100
commita13d22f92177e3b33145aaeaed60e97e0dd540ce (patch)
treef3eb86b6683b51e925946e90d2550e2cb5455582 /docs/wipy/quickref.rst
parent19502957357aadf04015fd55272ae051d9fb0f23 (diff)
downloadmicropython-a13d22f92177e3b33145aaeaed60e97e0dd540ce.tar.gz
micropython-a13d22f92177e3b33145aaeaed60e97e0dd540ce.zip
docs/wipy: Fix several typos and change some pyboard to WiPy.
Diffstat (limited to 'docs/wipy/quickref.rst')
-rw-r--r--docs/wipy/quickref.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/wipy/quickref.rst b/docs/wipy/quickref.rst
index 9f4a55070d..8c62486cde 100644
--- a/docs/wipy/quickref.rst
+++ b/docs/wipy/quickref.rst
@@ -18,7 +18,7 @@ See the :mod:`machine` module::
machine.freq() # get the CPU frequency
machine.unique_id() # return the 6-byte unique id of the board (the WiPy's MAC address)
- machine.idle() # average curernt decreases to (~12mA), any interrupts wakes it up
+ machine.idle() # average current decreases to (~12mA), any interrupts wake it up
machine.sleep() # everything except for WLAN is powered down (~950uA avg. current)
# wakes from Pin, RTC or WLAN
machine.deepsleep() # deepest sleep mode, MCU starts from reset. Wakes from Pin and RTC.
@@ -187,7 +187,7 @@ See :ref:`network.WLAN <network.WLAN>` and :mod:`machine`. ::
wifi = WLAN(mode=WLAN.STA)
# go for fixed IP settings
wifi.ifconfig(config=('192.168.0.107', '255.255.255.0', '192.168.0.1', '8.8.8.8'))
- wifi.scan() # scan for available netrworks
+ wifi.scan() # scan for available networks
wifi.connect(ssid='mynetwork', auth=(WLAN.WPA2, 'mynetworkkey'))
while not wifi.isconnected():
pass
@@ -205,7 +205,7 @@ See :ref:`network.server <network.server>` ::
from network import server
- # init with new user, pass word and seconds timeout
+ # init with new user, password and seconds timeout
server = server.init(login=('user', 'password'), timeout=60)
server.timeout(300) # change the timeout
server.timeout() # get the timeout