Skip to content

Instantly share code, notes, and snippets.

@rlogiacco
Created September 8, 2015 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rlogiacco/f1620d694d0488b0e12a to your computer and use it in GitHub Desktop.
Save rlogiacco/f1620d694d0488b0e12a to your computer and use it in GitHub Desktop.
Arduino reset via software
#include <avr/io.h>
#include <avr/wdt.h>
#define RESET() wdt_enable(WDTO_30MS); while(1) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment