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

                       // batches all the required pin values together and pushes once
         // Pushes data in 1 second interval
      pushData(); 
//      wdt_reset();  
    } else {
      pushClient.close();
      cc3000.disconnect();

#include "SenseBotWifiAgent.h"

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