How can I store and read data in esp32 flash memory?
I am using SPI communication with a sensor but I want to store the data in esp32 flash memory instead of print it in the serial monitor, then I want to read the data from the memory.
I found in this link " Preferences is good to save a small number of values.
If you need to save huge amounts of data, it is preferable to create a file in SPIFFS and use JSON."
My data is very big, it seems i need SPIFFS, but i didnt find Arduino code for it.