
iot_water_monitor_v2
Dependencies: easy-connect-v16 Watchdog FP MQTTPacket RecordType-v-16 watersenor_and_temp_code
Application/CommandExecution.cpp
- Committer:
- DuyLionTran
- Date:
- 2018-02-14
- Revision:
- 34:601effb7b7fe
- Parent:
- 32:8226837c56ae
- Child:
- 35:fc800d35c1ba
File content as of revision 34:601effb7b7fe:
#include "CommandExecution.h" #include "mbed.h" DigitalOut relay1(RELAY_1_PIN); DigitalOut relay2(RELAY_2_PIN); DigitalOut relay3(RELAY_3_PIN); void CE_HandleRelays(int Relay1State, int Relay2State, int Relay3State) { relay1 = Relay1State; relay2 = Relay2State; relay3 = Relay3State; }