iot_water_monitor_v2

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

Application/CommandExecution.h

Committer:
DuyLionTran
Date:
2018-02-21
Revision:
39:a5ee98bd0050
Parent:
35:fc800d35c1ba
Child:
43:dcde0e66874a

File content as of revision 39:a5ee98bd0050:

#ifndef __COMMANDEXECUTION_H__
#define __COMMANDEXECUTION_H__

#include <stdint.h>

#define RELAY_1_PIN   (D10)
#define RELAY_2_PIN   (D11)
#define RELAY_3_PIN   (D12)

void CE_HandleRelays(int Relay1State, int Relat2State, int Relat3State);
void CE_SetRTCTime(uint32_t CurrentEpochTime);
void CE_Calibrate();

#endif /* __COMMANDEXECUTION_H__ */