Data hosted with ♥ by
Pastebin.com
-
Download Raw
-
See Original
ISR
(
WDT_vect
)
{
sleep_interval
++;
wdt_reset
(
)
;
// Re-enable WDT interrupt. Normally we wouldn't do that here,
// But we're using this routine purely as a timeout;
// WDT is never used for reset
WDTCR
|=
(
1
<<
WDTIE
)
;
return
;
}