write_to_eeprom