loop() Runs Forever
The heartbeat that repeats your logic endlessly.
The Heartbeat
After setup finishes, the second block takes over. Meet loop(), the part of your sketch that never stops running. 🔁
Runs Over and Over
The key idea: loop() repeats endlessly. The board runs it, reaches the bottom, then jumps straight back to the top.
All lessons in this course
- setup() Runs Once
- loop() Runs Forever
- Comments & Clean Sketches
- Compile Errors & How to Read Them