This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************************/ | |
/* */ | |
/* Language Technologies Institute */ | |
/* Carnegie Mellon University */ | |
/* Copyright (c) 2000 */ | |
/* All Rights Reserved. */ | |
/* */ | |
/* Permission is hereby granted, free of charge, to use and distribute */ | |
/* this software and its documentation without restriction, including */ | |
/* without limitation the rights to use, copy, modify, merge, publish, */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <avr/wdt.h> | |
void setup() { | |
//Reset arduino every 4 seconds WDTO_4S | |
//https://www.nongnu.org/avr-libc/user-manual/group__avr__watchdog.html#ga9e52c54d10b6a6a7ce04aaaa4abea51f | |
wdt_enable(WDTO_4S); | |
Serial.begin(9600); | |
} | |
void loop() { |
OlderNewer