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?

Hi

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.

Regards

Ray

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: