MENU

Fun & Interesting

Stop Wasting Time, Use AVR Timer Interrupts | Baremetal AVR Programming Tutorial

Low Level 49,263 3 years ago
Video Not Working? Fix It Now

Programming embedded systems is difficult. You need to make the most out of the limited processing power you have. The worst thing you could do is waste precious processing cycles by sleeping, waiting for an event to occur. Instead, you should be using INTERRUPTS. Interrupts are a great way for a device to be pre-empted and ran when an event or timer triggers. In this video, I'll teach you how to write code that produces a timer interrupt, in baremetal AVR C, without using the Arduino API or libraries. 🔥🔥🔥 SOCIALS 🔥🔥🔥 Low Level Merch!: https://www.linktr.ee/lowlevellearning Follow me on Twitter: https://twitter.com/lowlevellearni1 Follow me on Twitch: https://twitch.tv/lowlevellearning Join me on Discord!: https://discord.gg/gZhRXDdBYY Code from this video: https://github.com/lowlevellearning/avr-timers Register Documentation: https://onlinedocs.microchip.com/pr/GUID-80B1922D-872B-40C8-A8A5-0CBE009FD908-en-US-3/index.html?GUID-853E47EF-C46F-422D-AD77-A76D833D0760

Comment