diff options
author | danicampora <daniel@wipy.io> | 2015-10-26 23:50:24 +0100 |
---|---|---|
committer | danicampora <daniel@wipy.io> | 2015-10-26 23:51:27 +0100 |
commit | 9011815d862683711a6d79bb76a553d84b6e4556 (patch) | |
tree | c8312335128b1c9dc71f89cecc792f33ede64c33 | |
parent | 858ed6d2f7eacba3ca0c61c3ee8b46ae2d7f975e (diff) | |
download | micropython-9011815d862683711a6d79bb76a553d84b6e4556.tar.gz micropython-9011815d862683711a6d79bb76a553d84b6e4556.zip |
docs/wipy: Fix bug in example code and add note regarding OTA.
-rw-r--r-- | docs/wipy/general.rst | 8 | ||||
-rw-r--r-- | docs/wipy/tutorial/wlan.rst | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/docs/wipy/general.rst b/docs/wipy/general.rst index 8fe361d1d1..49e48acd47 100644 --- a/docs/wipy/general.rst +++ b/docs/wipy/general.rst @@ -96,10 +96,15 @@ the WiPy by pressing the switch on the board, or by typing:: >>> import machine >>> machine.reset() -Software updates can be found in: https://github.com/wipy/wipy/releases +Software updates can be found in: https://github.com/wipy/wipy/releases (**Binaries.zip**). It's always recommended to update to the latest software, but make sure to read the **release notes** before. +.. note:: + + The ``bootloader.bin`` found inside ``Binaries.zip`` is there only for reference, it's not + needed for the Over The Air update. + In order to check your software version, do:: >>> import os @@ -108,6 +113,7 @@ In order to check your software version, do:: If the version number is lower than the latest release found in `the releases <https://github.com/wipy/wipy/releases>`_, go ahead and update your WiPy! + .. _wipy_boot_modes: Boot modes and safe boot diff --git a/docs/wipy/tutorial/wlan.rst b/docs/wipy/tutorial/wlan.rst index 15a9bbefe8..40e38cbeae 100644 --- a/docs/wipy/tutorial/wlan.rst +++ b/docs/wipy/tutorial/wlan.rst @@ -50,10 +50,10 @@ IP address so that you can access it via telnet or FTP, use the following script wlan.ifconfig(config=('192.168.178.107', '255.255.255.0', '192.168.178.1', '8.8.8.8')) if not wlan.isconnected(): - wlan.connect(net.ssid, auth=(net.sec, 'mywifikey'), timeout=5000) + # change the line below to match your network ssid, security and password + wlan.connect('mywifi', auth=(WLAN.WPA2, 'mywifikey'), timeout=5000) while not wlan.isconnected(): machine.idle() # save power while waiting - break .. note:: |