Can i modify my code from a GUI? ESP32

I have a simple GUI wiht some buttons that change Time format from 24hrs to 12hrs, some "alarm" variables that store a permisible value, i can change all of these values from a GUI displayed on a TFT screen, however i would like to save these changes so they remain the same even if i power off the board, is there a way to do this?


You can use the Preferences library, like in this example arduino-esp32/StartCounter.ino at master · espressif/arduino-esp32 · GitHub

1 Like

Depends on the board, but you do have EEPROM available.

Thankss, that's what i was looking for!

1 Like