Plant Monitoring Project

Dependencies:   mbed SHT21_ncleee WakeUp SSD1306 DHT Adafruit_TCS34725 DS1820

Revision:
25:77322fbe298e
Parent:
24:6320b46719d6
Child:
26:5d38b3abb89a
--- a/main.cpp	Thu Nov 28 20:16:05 2019 +0000
+++ b/main.cpp	Mon Dec 02 07:43:47 2019 +0000
@@ -31,7 +31,9 @@
         pc.printf( "D3 not assigned\n\r");
         #endif
     }
-    printf("temp sol: %.1f\n\r", DS.temperature());
+    #ifdef DEBUG
+    pc.printf("temp sol: %.1f\n\r", DS.temperature());
+    #endif
     return DS.temperature();
 }