sounds intriguing and I understand the cap idea to supply power to the pic for a few seconds after power failure but I just dont get the rest of the idea
surely if I'm writing to the eeprom while the program is running each of those writes count, and the extra one at power up and off so thats an extra 2 writes?
what happens to the clock timer data when the eeprom is written all 0Xff at power up, or 0X55 at power failure?
The writing of 0xffs and 0x55s is a test to do during development to work out the size of capacitor needed.
The idea is that you only ever write the time to EEPROM when the power fails. The rest of the time it is in RAM.
Mike.
Last edited: