EEPROM.update()

Update value at a defined address: write new value only if value in EEPROM differs. It is preferable to write() because it lowernumber of writes in the EEPROM making it's life longer void EEPROM.update(dword address, byte value) address address in EEPROM (dword) value to update (byte) none