pdf-icon

EEPROM

API

Save important data in the form of key-value pairs to NVS partition to prevent data loss after shutdown (data is actually written after 5 seconds to prevent program processing from being blocked).

EEPROM write key value

  • Creating a key-value pair to save data to EEPROM

EEPROM read key

  • Read out the data content corresponding to the keyword

EEPROM read key to int

  • Read out the data content corresponding to the keyword and convert it to shaping data.

Example

Create key-value pairs to write to the NVS partition, and read the data

On This Page