Why did you ignore Mike's advice?
If your Arduino's microcontroller is an 8-bit AVR, the int type variable is 2 bytes.
But EEPROM.write() function writes only 1 byte.
Why did you ignore Mike's advice?
If your Arduino's microcontroller is an 8-bit AVR, the int type variable is 2 bytes.
But EEPROM.write() function writes only 1 byte.