Interrupt Tutorial

Interrupts in Atmega16-AVR

Introduction The interrupt is another method to program the microcontroller. In the interrupt method, the microcontroller gets interrupted by the device connected to it. Once interrupted, it is going to run the piece of code written for particular interrupt called Interrupt Service Routine(ISR). Once it has done executing, it’s going to resumes the operation from where it’s …

Interrupts in Atmega16-AVR Read More »

Polling vs Interrupt

Introduction There are two basic approaches to the task in the microcontroller programming- Polling Method and Interrupt. In this article, we will point out the difference between Interrupt and Polling. An Example Consider a scenario: suppose you are waiting for your friend. There are two methods to know that when your friend has arrived. First …

Polling vs Interrupt Read More »

Scroll to Top