View Single Post
Old 12-09-2010, 02:02 AM   #29 (permalink)
FalconFour
EcoModding Lurker
 
FalconFour's Avatar
 
Join Date: Sep 2010
Location: Fresno, CA
Posts: 78

LEAF - '11 Nissan LEAF
Thanks: 4
Thanked 9 Times in 7 Posts
Quote:
Originally Posted by bobski View Post
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
  Reply With Quote