Store variable in PROGMEM -- survive resets?

That's a good suggestion but...

  • In this case it would have been too much investment in time and materials. I needed something quick and simple to determine if the application would work on batteries.
  • The SD card and supporting circuitry would consume energy reducing the run time. I wanted the test to be as close as possible to the final application.
  • I wanted to get some experience using the EEPROM library.