iot_water_monitor_v2

Dependencies:   easy-connect-v16 Watchdog FP MQTTPacket RecordType-v-16 watersenor_and_temp_code

Revision:
41:6aed398adcc4
Parent:
39:a5ee98bd0050
Child:
43:dcde0e66874a
--- a/Application/CommandExecution.cpp	Tue Feb 27 14:51:18 2018 +0000
+++ b/Application/CommandExecution.cpp	Sun Mar 04 07:57:56 2018 +0000
@@ -6,6 +6,8 @@
 DigitalOut  relay2(RELAY_2_PIN);
 DigitalOut  relay3(RELAY_3_PIN);
 
+extern bool isCalibrating;
+
 void CE_HandleRelays(int Relay1State, int Relay2State, int Relay3State) {
     relay1 = Relay1State;
     relay2 = Relay2State;  
@@ -18,5 +20,5 @@
 }
 
 void CE_Calibrate() {
-    SENSOR_DoCalibration();
+    isCalibrating = true;
 }
\ No newline at end of file