delay() and Blink Timing
Pause execution to make a visible blink rhythm.
Add a Pause
Switching a pin on and off happens in microseconds, far too fast to see. To make a real blink, you tell the board to wait with delay. ⏱️
delay Speaks Milliseconds
The delay function pauses your sketch for a number of milliseconds. One second is 1000 of them, so delay(1000) waits one full second.
delay(1000);All lessons in this course
- pinMode and OUTPUT
- digitalWrite HIGH & LOW
- delay() and Blink Timing
- Wire an External LED Safely