demo said:
The power went off today and the 'goofy clock' was happily reading out
the 'fail' time and date, restore time and date, also for the last 2
power failures. It stores 8 events. This is a microcontroller based
device with maybe 1200 lines of assembly code. I also have a triple
display version to do multiple time zones with 12/24 hour mode
selectable for each zone. Are you doing a BCD clock as some sort of
exercise to show it can be done? To prove a point? A class assignment?
Dammit, I can do it?
Chris Carlen is right about the feature rich possibilities of the
microcontroller world. Next software revision of goofy will include a
WWVB receiver from Galleon.
I used to prefer hardware versions because they seemed simpler but the
flexibility of microcontrollers is so great that I only use the
hardware for things too fast for the controller, even then with PLDs,
CPLDs, etc. A long time ago a friend pointed out that the only
difference between hardware logic and the computer is the sequential
nature and temporary storage of intermediate results. Reprogramming
beats the the hell out of trace cuts.
GG
Always make NEW mistakes.