vetinari_clock
9 years agoImplemented irregular ticks.
Pat Thoyts [Sat, 6 Dec 2014 00:16:36 +0000 (00:16 +0000)]
Implemented irregular ticks.

With two /8 dividers we get 512 interrupts per second. By counting 16
of these we get a 30ms interval to energise the coil for a tick.
We add a random number up to 15 additional 30ms intervals to offset the
actual time of the tick.

9 years agoBlink LED using watch crystal driven interrupts at 1s intervals
Pat Thoyts [Thu, 4 Dec 2014 07:45:11 +0000 (07:45 +0000)]
Blink LED using watch crystal driven interrupts at 1s intervals