We’re working on a student space-related project again and we need to improve ourselves in different areas so I prefer spending my time on watching tutorials, reading datasheets, etc. to learn new things instead of spending my time here. Nowadays one of the area we’re working on is programming AVR microcontrollers, and today, I’ll share many examples for ATMega328P microcontroller.
These examples are related to the management of timers. Timers are really important to execute interrupts or external tasks at the right time. For more detail, you can read this page.
Warn! Running these examples in Proteus, you should set the CLKDIV8 value of ATMega328P as “unprogrammed”.