You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/micropython-course/course/04.digital/03.digital.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,8 @@ while True:
53
53
print("BUTTON PRESSED!")
54
54
```
55
55
56
+
***Please note that the pin number reflects the GPIO on the ESP32-S3, not the Nano board. In the circuit, we are connecting the button to pin `D6`, but in the code, we use pin `9`. You can read more about this and see the full pin map [here](/micropython-course/course/introduction-python#nano-esp32--micropython-pinout).***
57
+
56
58
Then, click on the **Run"** button to run the script. Now, if we click the button, we should see a message in the terminal: **"BUTTON PRESSED!"**.
0 commit comments