Humidistat
Arduino firmware for a humidistat (humidity controller)
Loading...
Searching...
No Matches
SingleHumidistat.h
Go to the documentation of this file.
1#ifndef HUMIDISTAT_SINGLEHUMIDISTAT_H
2#define HUMIDISTAT_SINGLEHUMIDISTAT_H
3
4#include <stdint.h>
5#include <etl/array.h>
6
7#include "aliases.h"
8#include "Humidistat.h"
9#include "EEPROMConfig.h"
10
14private:
15 const uint8_t pins_solenoid[2];
16 const uint8_t pwmRes;
17
18public:
24 SingleHumidistat(HumiditySensor *hs, const ConfigStore *cs, etl::array<uint8_t, 2> pins_solenoid, uint8_t pwmRes);
25
26 // Overridden from Controller
27 void update();
29};
30
31#endif //HUMIDISTAT_SINGLEHUMIDISTAT_H
const ConfigStore & cs
Definition Controller.h:14
Base class for a humidistat. Holds a reference to a HumiditySensor instance.
Definition Humidistat.h:10
HumiditySensor & hs
Definition Humidistat.h:12
Control humidity using PID by driving two solenoid valves. Adjust the public setpoint variable and ca...
SingleHumidistat(HumiditySensor *hs, const ConfigStore *cs, etl::array< uint8_t, 2 > pins_solenoid, uint8_t pwmRes)
Constructor.
const uint8_t pwmRes
const uint8_t pins_solenoid[2]
Config store containing variables, which can be stored in EEPROM.
Definition EEPROMConfig.h:7