Quote:
Originally Posted by bobski
What about the clock functionality? An I2C real time clock chip could keep track of the time and date, running off a coin cell when the rest of the system is switched off.
|
Actually don't even need a battery backed RTC... I already wrote a RTC add-in for MPGuino that's kept perfect time for weeks now! Amazingly enough, the "loops" in the MPGuino code are absolutely perfectly timed at 500ms, which can be used in a "clock counter" that counts seconds past a predetermined time (although now that I think about it, I could really just count "seconds from midnight"... eugh, sometimes I complicate things). One of the many things I learned to hack together in the MPGuino code