Hello! I am trying to figure out what line of code I would need to have something run until the Arduino is powered off. Let me explain.
I want a button to trigger a piezo buzzer, but I don't want the buzzer to turn off, even if the button is pressed again, leaving the only way to turn it off being the powering down of the Arduino.
Any idea where to start or helpful links? Thanks!