September 8, 2010

How to use External Interrupts on an ATmega168

Daniel Garcia from Protostack has made a good tutorial describing the steps to Understand How to use External Interrupts on an ATmega168. It is nice to forget about manually coding to look for changes in state of inputs and other conditions within the microcontroller. Interrupts allow us to keep on doing real work while the system keep monitoring for changes. “Microcontroller interrupts are just like that. The microcontroller is executing