Войти
  • 7169Просмотров
  • 5 лет назадОпубликованоAnas Kuzechie

Timer Compare Match Interrupt in Arduino

In this video compare match interrupt using ATmega328 timer1 is explained and used to toggle a LED. Link to code: Contents: 0:00 Introduction 0:26 Timers in ATmega328 Controller 1:27 TIMER0, TIMER1 & TIMER2 Interrupts 2:35 Timer Registers 3:52 Programming TIMER1 Registers 5:07 Compare Match Interrupt 7:10 Circuit Description 7:59 C++ Sketch 8:57 Demonstration 9:19 Conclusion