33 SensorDHT(uint8_t pin) : dht(pin, DHT22) {}
float getHumdity() const
Get the humidity value.
Definition dht22.cpp:55
void begin()
Constructor for the SensorDHT class.
Definition dht22.cpp:21
float getTemperature() const
Get the temperature value.
Definition dht22.cpp:45
void update()
Update the temperature and humidity values.
Definition dht22.cpp:33
Configuration Header File.