Skip to content

Commit 3eaf355

Browse files
Fixed content issues
1 parent 39b7ec9 commit 3eaf355

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

content/micropython/02.micropython-course/course/07.internet-of-things/01.internet-of-things.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ To do this, we can edit our `boot.py` file. Remember, the code on this file is t
9595

9696
![Select the Boot.py file.](assets/bootfile.png)
9797

98-
Then, in the `boot.py` file, we can past the Wi-Fi connection code that we just previously.
98+
Then, in the `boot.py` file, we can use the Wi-Fi connection code that we used previously.
9999

100100
```python
101101
"""
@@ -104,6 +104,10 @@ It will automatically run when
104104
you start your board, and connects
105105
to the Wi-Fi network specified.
106106
"""
107+
import network
108+
109+
WIFI_NETWORK='YOUR_NETWORK_NAME'
110+
WIFI_PASSWORD='YOUR_NETWORK_PASSWORD'
107111

108112
wlan = network.WLAN(network.STA_IF)
109113
wlan.active(True)
@@ -177,7 +181,7 @@ Once we run the script, after a while, we should be receiving the response. This
177181

178182
We now have a device that is capable of accessing the weather from anywhere in the world!
179183

180-
## Exercise 2: Internet Clock
184+
## Exercise 3: Internet Clock
181185

182186
In this exercise, we will make a request to something called an network time protocol (NTP) server.
183187

0 commit comments

Comments
 (0)