Skip to content

Instantly share code, notes, and snippets.

@Marzogh
Created May 23, 2016 23:28
Show Gist options
  • Save Marzogh/a1f946abe0d43ae49d6b40ad0aff24cb to your computer and use it in GitHub Desktop.
Save Marzogh/a1f946abe0d43ae49d6b40ad0aff24cb to your computer and use it in GitHub Desktop.
Resets Arduino in software
void(* resetFunc) (void) = 0; //declare reset function @ address 0
resetFunc(); //Call to reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment