Volatile RAM. Thinking DS1307 without battery.


Author Message
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1576
Posted: 08:40pm 21 Jan 2025      

  PhenixRising said  I need to set a flag that persists when I stop and restart (or load) the program but that resets in the event of a power-down. ...

Just a reminder: The DS3231 RTC chip has 7 bytes that are actually intended for alarms. These could be used to remember states beyond power off.
Michael