Storing calibration values in EEPROM