I just thought of two Arduino librarys:
1. A clock library that writes to EEPROM
2. A phone library that generates DTMF ouputs via Freqout
Elaboration:
For the clock, the arduino would send a sync bit every second to tell programs, "Hey, don't read or write, because I'm about to write the EEPROM. Oh, and the time is (insert time here)". Then it would write the current time to EEPROM. Then, it would repeat.
For the phone, it would just generate tones via freqout.
I might go make that.
Right now.
Bye!!
Library
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- ran talbott
- Posts: 57
- Joined: Thu Feb 19, 2009 1:32 pm
Re: Library
For an EEPROM with a spec'ed 100,000-cycle life, writing the time once per second will blow through a cell in about 30 hours.ziplock wrote:Then it would write the current time to EEPROM.
-
- Posts: 41
- Joined: Fri Jan 30, 2009 7:03 pm
Re: Library
Ran Talbott wrote:For an EEPROM with a spec'ed 100,000-cycle life, writing the time once per second will blow through a cell in about 30 hours.ziplock wrote:Then it would write the current time to EEPROM.
Wowzer, I didn't know eeprom sucked so much. Thanks for telling me that!
Aren't programs written to EEPROM when you upload them from the Arduino IDE?
-
- Posts: 440
- Joined: Sun Aug 31, 2008 11:09 pm
Re: Library
Nope, Arduino programs are stored in flash, which is rated at 10,000 write/erase cycles according to the Atmega168 datasheet.
Please be positive and constructive with your questions and comments.