I use Adafruit ESP32 Feather Huzzah32, I want to use flash memory (4MB) but I can not find an example to store values in this memory.
Can someone help me ?
Use EEPROM library.
Tut: https://randomnerdtutorials.com/esp32-flash-memory/ (https://randomnerdtutorials.com/esp32-flash-memory/)
If you want to read/write lots data use SPIFFS (SPI Flash File System). One option is to configure 1MB for code and 3MB for SPIFFS.
Thanks for your answer DrDooom and gbafamily.
DrDooom, I try this solution but I can not save much data just 4kbytes.
Gbafamily, this solution works when the card is linked to the PC but in the case of an embedded system it is not functional.
Finally, I find solution to write in flash memory. I use ESP.flashWrite and ESP.flashRead.