   
   connectHttp();
   setupResource();
-//  wdt_enable(WDTO_4S);
+  wdt_enable(WDTO_4S);
 }
 
 

#include "SenseBotWifiAgent.h"

#include <Adafruit_CC3000.h>
//#include <avr/wdt.h>
#include <SPI.h>
#include "dht.h"
#include <pt.h>

//  listen();
//  wdt_reset();
                      // Check connection
  if( !cc3000.checkConnected() ){
    while(1){
    }
  }
  
  wdt_reset(); 
  drive();    
  
}
