Reset the arduino via push button trigger?

Hey there,

I know the you can reset the arduino via the reset button, but is there any script I can call such that an external push button triggers a reset?


You can connect an external push button switch between the RESET pin on the Arduino header connector and GND. This is in parallel with the onboard switch, so either will reset the Arduino when pressed.



Yes, there is a "Jump to 0" kind of command to cause a software reset.
Why do think you need that? Vs reading a button/switch and just executing code from a known point in the sketch?

Sigh, thanks for the help! I have a knack for missing things in plain view. :slight_smile: