only getting value 255 from EEPROM

AngelinaNoLee:
my next step trying to restrict the write/erase cycles

Use EEPROM.update()