38 uint8_t _pin, _type, _count;
40 unsigned long _lastreadtime;
51 DHT(uint8_t pin, uint8_t type, uint8_t count = 6);
int16_t convertCtoF(int16_t)
Converts Celcius to Fahrenheit.
Definition: TinyDHT.cpp:66
uint8_t readHumidity(void)
Reads the humidity from the device.
Definition: TinyDHT.cpp:68
DHT(uint8_t pin, uint8_t type, uint8_t count=6)
DHT constructor.
Definition: TinyDHT.cpp:22
void begin(void)
Begins connection with device.
Definition: TinyDHT.cpp:29
Class that stores the state and functions for the DHT.
Definition: TinyDHT.h:35
int16_t readTemperature(bool S=false)
Reads the temperature from device.
Definition: TinyDHT.cpp:37