Files
GrowController/Firmware/GrowController.h
2021-10-04 13:45:39 +00:00

24 lines
419 B
C

#ifndef GROWCONTROLLER_H
#define GROWCONTROLLER_H
bool GetCircuitStatus();
/// Command for the circuit
typedef enum {
CMD_Off, ///< Command it off
CMD_On, ///< Command it on
CMD_Toggle ///< Command a toggle
} CircuitCmd_T;
/// Set the state
/// @param[in] newState
/// - 0 = Off
/// - 1 = On
/// - 2 = Toggle
///
void SetCircuit(CircuitCmd_T newState);
#endif // GROWCONTROLLER_H