The Arduino's built-in EEPROM library can only handle small values. You might want to look at this extended library to make storing anything larger than a nibble easier:
The Arduino's built-in EEPROM library can only handle small values. You might want to look at this extended library to make storing anything larger than a nibble easier: