I want to code an if statement in the setup of my arduino uno project, the pseudocode would be something like this:
If the nth slot of EEPROM memory is not empty, then do something.
So what I did is:
if((EEPROM.read(n) != 0)
Thinking that the 8 bit sequence initialized to 0 would be equal to the integer 0, but something is clearly off because the statement is always true.
Thanks for your time!