Skip to content

lib_eeprom: Unlock and lock EEPROM

Richard Hodges edited this page Oct 21, 2018 · 1 revision

This is very simple. Your project may have libraries that need to write to EEPROM. Instead of copying code, just use this tiny library, it's only 23 bytes!

char eeprom_unlock(void); /* zero = fail */
void eeprom_lock(void);