1#ifndef HUMIDISTAT_HUMIDISTAT_H
2#define HUMIDISTAT_HUMIDISTAT_H
30 double cvMin,
double cvMax);
Base class for a controller. Owns a PID instance, and holds a reference to a ConfigStore instance.
Base class for a humidistat. Holds a reference to a HumiditySensor instance.
double getHumidity() const
Read the humidity.
Humidistat(const ConfigStore *cs, HumiditySensor *hs, double Kp, double Ki, double Kd, double Kf, uint16_t dt, double cvMin, double cvMax)
Constructor.
double getTemperature() const
Read the temperature.
void runCycle()
Run a cycle of the controller. Reads a sample from the humidity controller and runs PID.
Config store containing variables, which can be stored in EEPROM.