Humidistat
Arduino firmware for a humidistat (humidity controller)
Loading...
Searching...
No Matches
DHTHumiditySensor.h
Go to the documentation of this file.
1#ifndef HUMIDISTAT_DHTHUMIDITYSENSOR_H
2#define HUMIDISTAT_DHTHUMIDITYSENSOR_H
3
4#include "DHT.h"
5
8private:
9 DHT &dht;
10public:
11 explicit DHTHumiditySensor(DHT *dht);
12 double getHumidity() const;
13 double getTemperature() const;
14 void begin();
15 void readSample();
16};
17
18
19#endif //HUMIDISTAT_DHTHUMIDITYSENSOR_H
Implementation of the HumiditySensor interface for the DHT22/AM2302 sensor.
double getHumidity() const
double getTemperature() const