I had thought about MikalHart's option using a shift operator.
Yes, that would be even better!
EEPROM.write((byte)myint, 0); // write low order byte
EEPROM.write((byte)(myint >> 8), 1); // write high order byte
Mikal
I had thought about MikalHart's option using a shift operator.
Yes, that would be even better!
EEPROM.write((byte)myint, 0); // write low order byte
EEPROM.write((byte)(myint >> 8), 1); // write high order byte
Mikal