Posted by Anonymous on Sun 7th Feb 20:55
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 immer nach 15s (while(1); ist eine Endlosschleife)
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.