Software Reset
Posted: Fri Dec 30, 2011 7:36 am
I'd like to add a custom menu entry to do a "reboot". Is this function safe?
I found it here http://www.arduino.cc/cgi-bin/yabb2/YaB ... 1252179482
Thanks!
Code: Select all
void(* resetFunc) (void) = 0; //declare reset function @ address 0
resetFunc(); //call reset
Thanks!