EEPROM

Function Description

Saves critical data as key-value pairs to the NVS partition to prevent data loss after shutdown (to avoid blocking program execution, data is actually written after 5 seconds).

EEPROM write key value

  • Creates a key-value pair to save data into EEPROM.

EEPROM read key

  • Reads the data content associated with the key.

EEPROM read key to int

  • Reads the data content associated with the key and converts it to integer data.

Usage Instructions

Create a key-value pair to write into the NVS partition and read the data.

On This Page