       return secsSince1900 - 2208988800UL + timeZone * SECS_PER_HOUR;
     }
   }
-  Serial.println(millis() - beginWait);
-  Serial.println("No NTP Response :-(");
+  if (DEBUG_PRINT) {
+    Serial.println(millis() - beginWait);
+    Serial.println("No NTP Response :-(");
+  }
   return 0; // return 0 if unable to get the time
 }
 
 // send an NTP request to the time server at the given address
 void sendNTPpacket(IPAddress & address)
 {
-  Serial.println("Transmit NTP Request");
+  if (DEBUG_PRINT) {
+    Serial.println("Transmit NTP Request");
+  }
   // set all bytes in the buffer to 0
   memset(packetBuffer, 0, NTP_PACKET_SIZE);
   // Initialize values needed to form NTP request

  udp.beginPacket(address, 123); //NTP requests are to port 123
  udp.write(packetBuffer, NTP_PACKET_SIZE);
  udp.endPacket();
  Serial.println("Transmit NTP Sent");
}
//
//

  f = dht.readTemperature(true);

  if (isnan(h) || isnan(t) || isnan(f)) {
    if (DEBUG_PRINT) {
      Serial.println("Failed to read from DHT sensor!");
    }
    return;
  }

