#ifndef watchdogH
 #define watchdogH

 class WatchDog {
     public:
         WatchDog ( int timeout ) { wdt_enable( timeout); reset();};
         ~WatchDog() { wdt_disable(); };
         void reset() {  wdt_reset(); };
 };
#endif