write calibration to eeprom