Assertion: interrupt's isr | /r/HasProperty | wdt_vect
Facets:
Source sentences:
text: // interrupt service routine for when button pressed void wake () { wdt_disable(); // disable watchdog } // end of wake // watchdog interrupt ISR (WDT_vect) { wake (); } // end of WDT_vect void myWatchdogEnable (const byte interval) { noInterrupts (); // timed sequence below MCUSR = 0; // reset various flags WDTCSR |= 0b00011000; // see docs, set WDCE, WDE WDTCSR = 0b01000000 | interval;