View Code? Open in Web Editor
NEW
Project meant for a job application to demonstrating using a hardware timer to blink and LED
License: MIT License
attiny84blink's Introduction
- Getting Linux laptop working again
- Remembering how to make a Makefile
- Realizing controlling the LED was inverted
- Making sure fuses were correct.
- Getting Timer1 to work (I messed up a few bit settings). I learned that turning on the Compare A interrupt seemed to force the Timer into CTC mode.
- Realizing that ints are 2 bytes
- Realizing that I didn't use an unsigned long on the timer polling. (I assume this is the big issue Glenn caught in his email)
- Working out a solution for setting/checking timer count values that go beyond the max timer count.
![](https://github.com/hamster1147/Attiny84Blink/raw/develop/Media/Attiny84Blink.PNG?raw=true)
Untitled.mov