Skip to content

Commit 9011815

Browse files
author
danicampora
committed
docs/wipy: Fix bug in example code and add note regarding OTA.
1 parent 858ed6d commit 9011815

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

docs/wipy/general.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,15 @@ the WiPy by pressing the switch on the board, or by typing::
9696
>>> import machine
9797
>>> machine.reset()
9898

99-
Software updates can be found in: https://github.com/wipy/wipy/releases
99+
Software updates can be found in: https://github.com/wipy/wipy/releases (**Binaries.zip**).
100100
It's always recommended to update to the latest software, but make sure to
101101
read the **release notes** before.
102102

103+
.. note::
104+
105+
The ``bootloader.bin`` found inside ``Binaries.zip`` is there only for reference, it's not
106+
needed for the Over The Air update.
107+
103108
In order to check your software version, do::
104109

105110
>>> import os
@@ -108,6 +113,7 @@ In order to check your software version, do::
108113
If the version number is lower than the latest release found in
109114
`the releases <https://github.com/wipy/wipy/releases>`_, go ahead and update your WiPy!
110115

116+
111117
.. _wipy_boot_modes:
112118

113119
Boot modes and safe boot

docs/wipy/tutorial/wlan.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ IP address so that you can access it via telnet or FTP, use the following script
5050
wlan.ifconfig(config=('192.168.178.107', '255.255.255.0', '192.168.178.1', '8.8.8.8'))
5151

5252
if not wlan.isconnected():
53-
wlan.connect(net.ssid, auth=(net.sec, 'mywifikey'), timeout=5000)
53+
# change the line below to match your network ssid, security and password
54+
wlan.connect('mywifi', auth=(WLAN.WPA2, 'mywifikey'), timeout=5000)
5455
while not wlan.isconnected():
5556
machine.idle() # save power while waiting
56-
break
5757

5858
.. note::
5959

0 commit comments

Comments
 (0)