I'm working on a program with Arduino Uno which involves writing and reading EEPROM. I'm using a basic EEPROM library. My problem is: EEPROM values are preset to 255 whenever I burn my program. And there is nothing in my code which will write 255 in these bytes.
I even tried
EEPROM_read example from the EEPROM library and got same result. I used
EEPROM_clear code before
EEPROM_read to set all values to 0. But when I read those values using
EEPROM_read, they are 255.
Please help explain what is happening.