void(* resetFunc) (void) = 0; //initialize the reset function void setup() { // put your setup code here, to run once: } void loop() { // put your main code here, to run repeatedly: delay(5000); resetFunc(); //you can call this method to reset your arduino }
No comments:
Post a Comment