/* * MrBlinky.c * MrBlinky Watchdog wof wof edition * Using the watchdog timer as a timed interrupt * */ #include #include int main(void) { //#### SETUP #### // Disable all interrupts cli(); // Clear MCU Status Register // Not really needed here as we don't need to know why the MCU got reset. P.44 MCUSR = 0; // Disable and clear all Watchdog settings P.46 // Not really sure this is needed as we never set the WDE, but nice to be thorough WDTCR = (1<