I need to save a value to the internal eeprom often. At least once a second or even more often than that. That means in 24 hours I'd have saved to the same address at least 86400 times. In not many days that address would no longer be valid.
I know demonicpicaxeguy showed it would last longer than 100,000 writes but even 4,000,000 would still only be roughly 46 days.
Someone, maybe hippy, posted some code quite a while back that avoided saving over and over to the same internal eeprom location by saving a "pointerish" location to the actual data and rotating the saved byte through all the available eeprom addresses.
Thought it was very clever but of course I didn't think I'd ever need it so didn't save it.
Searched for eeprom. Can't believe how many times that's been used!
Anyone know which thread that was in or have the code?
Arvin
I know demonicpicaxeguy showed it would last longer than 100,000 writes but even 4,000,000 would still only be roughly 46 days.
Someone, maybe hippy, posted some code quite a while back that avoided saving over and over to the same internal eeprom location by saving a "pointerish" location to the actual data and rotating the saved byte through all the available eeprom addresses.
Thought it was very clever but of course I didn't think I'd ever need it so didn't save it.
Searched for eeprom. Can't believe how many times that's been used!
Anyone know which thread that was in or have the code?
Arvin