> There was a fairly recent thread on spreading out writes over > the EEPROM to maximise endurance, a search of the archives > should find it Apart from the thread I mentioned, Bob Axtell has outlined his method a couple of times Sent: Friday, December 17, 2004 7:22 AM Subject: Re: [PIC] EEPROM Limits on a PIC18LF248 > So, what I do is to write the variable in 3 places. When I read it > next time, I read all three and see if they compare, taking the best > two out of three, but in any case, I have to write all three anyway. > This assures accuracy, as the chance that more than one will exhibit > failure is unlikely in 1-2 seconds > > --Bob -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist