Silent Q

Azog's little slice of the world. Whee.

PWM clock step 2

azog | December 24, 2007

I woke up in the middle of the night with an idea how to better deal with the minutes and hours settings. Since I am polling the switches, rather than interrupting, I might as well enclose the test in a bracket and be better able to handle it. Basically using a while statement when reading [...]

PWM clock revisited

azog | December 23, 2007

After looking at my unfinished project for the past few months, I finally decided to pick up where I left off. The last thing I needed to figure out was a way to set the minutes and hours, and I was hoping to use an interrupt. I was already using INT0 for the calibration mode, [...]