EEPROM

Hi there, I wanted to know if the EEPROM has default values of 0, or of they are set to null.

If i wanted to initialize a value to the EEPROM, and increment it each time the arduino powers on, where would i place my initial
EEPROM.write(0,value);

would it be in the setup();?

basically ill be doing something within the loop like this

value = EEPROM.read(0);
value++;
EEPROM.write(0,value);

Source: EEPROM

EEPROM was last modified: July 13th, 2017 by Jovan Stosic