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

  
  connectHttp();
  setupResource();
  wdt_enable(WDTO_4S);
}



  
  protothread1(&pushThread, 1000);
  
//  listen();
//  wdt_reset();
                      // Check connection
//  if( !cc3000.checkConnected() ){
//    while(1){
//    }
//  }
//  
//  wdt_reset(); 
  drive();    
  
}
