iot_water_monitor_v2
Dependencies: easy-connect-v16 Watchdog FP MQTTPacket RecordType-v-16 watersenor_and_temp_code
Application/CommandExecution.h@50:5a19fc4b41d9, 2018-03-18 (annotated)
- Committer:
- DuyLionTran
- Date:
- Sun Mar 18 17:54:50 2018 +0000
- Revision:
- 50:5a19fc4b41d9
- Parent:
- 43:dcde0e66874a
- Child:
- 56:3729bedac5ab
* version 2.8.5 03-19-2018: Set time to turn on/off the relay
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DuyLionTran | 32:8226837c56ae | 1 | #ifndef __COMMANDEXECUTION_H__ |
DuyLionTran | 32:8226837c56ae | 2 | #define __COMMANDEXECUTION_H__ |
DuyLionTran | 32:8226837c56ae | 3 | |
DuyLionTran | 35:fc800d35c1ba | 4 | #include <stdint.h> |
DuyLionTran | 35:fc800d35c1ba | 5 | |
DuyLionTran | 34:601effb7b7fe | 6 | #define RELAY_1_PIN (D10) |
DuyLionTran | 32:8226837c56ae | 7 | #define RELAY_2_PIN (D11) |
DuyLionTran | 34:601effb7b7fe | 8 | #define RELAY_3_PIN (D12) |
DuyLionTran | 32:8226837c56ae | 9 | |
DuyLionTran | 50:5a19fc4b41d9 | 10 | void CE_HandleRelays(int Relay1State, int Relay2State, int Relay3State); |
DuyLionTran | 35:fc800d35c1ba | 11 | void CE_SetRTCTime(uint32_t CurrentEpochTime); |
DuyLionTran | 39:a5ee98bd0050 | 12 | void CE_Calibrate(); |
DuyLionTran | 43:dcde0e66874a | 13 | void CE_SetAlarmRelays(); |
DuyLionTran | 43:dcde0e66874a | 14 | void CE_UpdateImmediately(); |
DuyLionTran | 32:8226837c56ae | 15 | |
DuyLionTran | 32:8226837c56ae | 16 | #endif /* __COMMANDEXECUTION_H__ */ |