iot_water_monitor_v2

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

Revision:
34:601effb7b7fe
Parent:
32:8226837c56ae
Child:
35:fc800d35c1ba
--- a/Application/CommandExecution.cpp	Sun Jan 21 13:04:06 2018 +0000
+++ b/Application/CommandExecution.cpp	Wed Feb 14 03:56:34 2018 +0000
@@ -3,8 +3,10 @@
 
 DigitalOut  relay1(RELAY_1_PIN);
 DigitalOut  relay2(RELAY_2_PIN);
+DigitalOut  relay3(RELAY_3_PIN);
 
-void CE_HandleRelays(int Relay1State, int Relay2State) {
+void CE_HandleRelays(int Relay1State, int Relay2State, int Relay3State) {
     relay1 = Relay1State;
     relay2 = Relay2State;  
+    relay3 = Relay3State;
 }