By default, pressing the reset button simply resets the board and runs the code over again. But what if I want something different to happen when the reset button is pressed? To keep things simple, say I have a variable
defined in the code
But when i press the reset button, instead of turning off and on the board to reset, I want save set to 1. When the board finish resetting, it will still remember that save=1 and do something else.
Is this possible to do with just an arduino pro mini?
Thanks for the help!