All exercises
Free mode
Write your own program using every part of the stand.
Task
- 1.The list of parts and pins is in the comment at the top of the code.
- 2.Save your code to continue from here later.
Code
Tab inserts two spaces. To leave the editor press Esc, then Tab.
Virtual stand
Program not started
| Pin | Part | State |
|---|---|---|
| D9 | Red LED | off |
| D10 | Yellow LED | off |
| D11 | Green LED | off |
| D13 | On-board LED (L) | off |
| D2 | Button | released |
| A0 | Potentiometer | 512 · 2.50 V |
| USB | Serial monitor | 9600 |
Serial monitor 9600
The program has not sent anything over Serial yet.