Plant Monitoring Project

Dependencies:   mbed SHT21_ncleee WakeUp SSD1306 DHT Adafruit_TCS34725 DS1820

Revision:
24:6320b46719d6
Parent:
23:424b3149003b
Child:
25:77322fbe298e
--- a/main.cpp	Thu Nov 28 19:51:58 2019 +0000
+++ b/main.cpp	Thu Nov 28 20:16:05 2019 +0000
@@ -14,6 +14,7 @@
       #ifdef DEEPSLEEP
       WakeUp::set(DUREE_OFF);
       WakeUp::attach(&mycallback);
+      deepsleep();
       #endif
       #ifndef DEEPSLEEP
       wait(DUREE_OFF);