
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-01-08
- Revision:
- 32:8226837c56ae
- Parent:
- 31:0f7ea3981668
- Child:
- 34:601effb7b7fe
File content as of revision 32:8226837c56ae:
#include "CommandExecution.h" #include "mbed.h" DigitalOut relay1(RELAY_1_PIN); DigitalOut relay2(RELAY_2_PIN); void CE_HandleRelays(int Relay1State, int Relay2State) { relay1 = Relay1State; relay2 = Relay2State; }