Changed integers to bytes in writes to EEPROM.