   Serial.println(valueJson);
   //post observation to: http://opensensemap.org:8000/boxes/boxId/sensorId
   // if you get a connection, report back via serial: 
+  wdt_reset();
   if (client.connect(server, 8000)) 
   {
     Serial.print("connected..."); 

    client.println(); 
    client.print(valueJson); 
    client.println(); 
    
    Serial.println("done!");
    uploadSuccess = true;
    
    //Change case
    if (sampleType == 5) {
      sampleType = 1;

    Serial.print("."); 
  }
  Serial.println();
  barometer.init();
  dht.begin();
  TSL2561.init();
}

void loop(){
  // if there's incoming data from the net connection.
  // send it out the serial port.  This is for debugging purposes only
  if (client.available()) {
