Update HumiditySensor.ino

This commit is contained in:
Kolbi
2016-01-08 16:53:18 +01:00
parent cee1dd3a4e
commit 1b09787b79
@@ -81,7 +81,7 @@ void loop()
temperature = dht.toFahrenheit(temperature); temperature = dht.toFahrenheit(temperature);
} }
send(msgTemp.set(temperature, 1)); send(msgTemp.set(temperature, 1));
#if MY_DEBUG #ifdef MY_DEBUG
Serial.print("T: "); Serial.print("T: ");
Serial.println(temperature); Serial.println(temperature);
#endif #endif
@@ -94,7 +94,7 @@ void loop()
} else if (humidity != lastHum) { } else if (humidity != lastHum) {
lastHum = humidity; lastHum = humidity;
send(msgHum.set(humidity, 1)); send(msgHum.set(humidity, 1));
#if MY_DEBUG #ifdef MY_DEBUG
Serial.print("H: "); Serial.print("H: ");
Serial.println(humidity); Serial.println(humidity);
#endif #endif