Added endurance to EEPROM writing.