|
And, more critically, do PICs multitask?
Being able to maintain three or four completely disparate clocks is critical to this operation--this isn't like one of those clocks that shows four time zones. One clock might say 14:43, another 2:25 and a third 5:15. And the one that says 2:25 might start and stop twenty times in one day, whereas the one that says 5:15 will continue running until it's reset and the one that says 14:43 won't ever reset; it will just flip over at midnight. I'm afraid that if I do everything in software, eventually I'll wind up needing a used PC laptop so I can multitask. (I'm trying to be deliberately vague on what this is because as of right now, this product doesn't exist in the form I envision and it's something a lot of people need.) As for the fourth clock...it just needs to count off ten hours and turn on a light. That's easy in hardware--two 74LS90s, a 74LS92, some LCD driver chips and a J/K flip-flop to hold the light high once the clock rolls over past 9:59.
Now let's get REALLY fun: What I would really like to happen is the two or three timers to count down, not up.
|