Many changes - not yet "controlled" updates.

This commit is contained in:
David
2021-10-04 13:45:39 +00:00
parent 8c1a403008
commit 74543a99f8
42 changed files with 7718 additions and 0 deletions

23
Firmware/GrowController.h Normal file
View 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