1

Topic: ESP32 and saving last state with RemoteXY

I am running ESP32 board with RemoteXY with just a switch.  All works well but I need the switch to save last state in a power cyle.
I know there is a way to do it with EEPROMM but I don't know how to write that code.

Anyone know how to do this?