How can I store permanent data with spiffs on esp32?
Posted: Fri Sep 17, 2021 7:43 am
How can I store permanent data with spiffs on esp32?
Example:
Variablefloat_one 126.658
Variablefloat_two 2.85
Variablefloat_....
These variables use my program, I can change these variables on STONE display. When I push the save button, then write the variables into storage. And when the esp32 restarts, I read the variables in the setup loop.
I use float and int variables.
I would like to use one file. And I save and read the name of the variable in the file.
Can I do it?
Thanks!
Example:
Variablefloat_one 126.658
Variablefloat_two 2.85
Variablefloat_....
These variables use my program, I can change these variables on STONE display. When I push the save button, then write the variables into storage. And when the esp32 restarts, I read the variables in the setup loop.
I use float and int variables.
I would like to use one file. And I save and read the name of the variable in the file.
Can I do it?
Thanks!