Problem with stopping my program

Have a look at how millis() is used to manage timing without blocking in several things at a time.

A simple solution would be an ON/OFF switch on the Arduino power line :slight_smile:

...R