Resetting Mega


How is it possible to reset Arduino Mega without physically pressing the reset button? I would like to do it using some program. Examples will be appreciated.


Best, Z


This subject comes up regularly and the usual answer is another question - "Why?".

You could use the watchdog.

(A three hour bump is a little impatient - some of us have to sleep)

Thanks AWOL, I will apply that.

(Actually I only slept for 3 hours :) )