Posted by Anonymous on Sun 7th Feb 21:05
Modification of post by Anonymous | view diff |
View followups from Anonymous | download
- #include <avr/wdt.h> //Watchdog Headerdatei einbinden, die die Watchdog Funktionen ermöglicht
- #include <avr/interrupt.h> //Die Interrupt Headerdatei wird ebenfalls gebraucht
- cli(); // Interrupts global abschalten
- wdt_enable (WDTO_15MS); // Watchdog auf 15ms
- while (1){ }; // Hier passiert der Interrupt / Reset immer nach 15s
Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.