MENU

Fun & Interesting

Level Up Your Arduino Code: Timer Interrupts

SparkFun Electronics 231,952 lượt xem 6 years ago
Video Not Working? Fix It Now

If you’re not familiar with working directly with registers or how interrupts work, we recommend viewing the previous lessons on leveling up your Arduino code.
Registers: https://www.youtube.com/watch?v=6q1yEb_ukw8
External Interrupts: https://www.youtube.com/watch?v=J61_PKyWjxU

On this episode of Adventures in Science, we continue diving into what makes Arduino tick. We examine the inner workings of the Microchip ATmega328P microcontroller, specifically looking at how to set up timer interrupts. We start with the always fun and ubiquitous “blinky” program and change it to flash an LED outside of the main program loop. These advanced concepts in Arduino programming can help you write more space efficient and faster embedded code.

Comment