mikeworkman:
wdt_enable(WDTO_8s);
Big S...
wdt_enable(WDTO_8S);
compiler comes back with an error
sketch.....: error: expected constructor, destructor, or type conversion before '(' token
indicating to me that it doesn't have the avr/wdt.h which of course the error told me above, but just saying...
Wrong. This is the error produced if the IDE cannot locate wdt.h...
sketch_may19a:5: error: 'WDTO_8s' was not declared in this scope
sketch_may19a:5: error: 'wdt_enable' was not declared in this scope
Which means YOU NEED TO POST YOUR ENTIRE SKETCH if you want any more help.