Humidistat
Arduino firmware for a humidistat (humidity controller)
|
Implementation of the HumiditySensor interface for the DHT22/AM2302 sensor. More...
#include <DHTHumiditySensor.h>
Public Member Functions | |
DHTHumiditySensor (DHT *dht) | |
double | getHumidity () const |
double | getTemperature () const |
void | begin () |
void | readSample () |
Private Attributes | |
DHT & | dht |
Implementation of the HumiditySensor interface for the DHT22/AM2302 sensor.
Definition at line 7 of file DHTHumiditySensor.h.
|
explicit |
Definition at line 3 of file DHTHumiditySensor.cpp.
void DHTHumiditySensor::begin | ( | ) |
Definition at line 13 of file DHTHumiditySensor.cpp.
double DHTHumiditySensor::getHumidity | ( | ) | const |
Definition at line 5 of file DHTHumiditySensor.cpp.
double DHTHumiditySensor::getTemperature | ( | ) | const |
Definition at line 9 of file DHTHumiditySensor.cpp.
void DHTHumiditySensor::readSample | ( | ) |
Definition at line 17 of file DHTHumiditySensor.cpp.
|
private |
Definition at line 9 of file DHTHumiditySensor.h.