24 lines
419 B
C
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
|