Many changes - not yet "controlled" updates.
This commit is contained in:
23
Firmware/GrowController.h
Normal file
23
Firmware/GrowController.h
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user