Microcontroller tutorial series: AVR and Arduino timer interrupts

Tick tock goes the Arduino clock.

Does your program seem like it’s trying to do too much at once? Are you using a lot of delay() or while() loops that are holding other things up? If so, your project is a good candidate to use timers. In this tutorial, we’ll discuss AVR and Arduino timers and how to use them to write better code.