All exercises
1. Blinking LED
Turn the on-board LED (D13) on and off every half second.
Task
- 1.Press Run and watch the L LED blink.
- 2.Change the delay(500) values to make it blink faster or slower.
- 3.Make the LED stay on for 1 second and off for 0.2 seconds.
Code
Tab inserts two spaces. To leave the editor press Esc, then Tab.
Virtual stand
Program not started
| Pin | Part | State |
|---|---|---|
| D13 | On-board LED (L) | off |
Serial monitor 9600
The program has not sent anything over Serial yet.