SimpleDHT
SimpleDHT copied to clipboard
Simple, Stable and Fast Arduino Temp & Humidity Sensors for DHT11 and DHT22. http://learn.adafruit.com/dht
For DHT11 While rewriting library for myself I've discovered that there are tenths of degrees Celsius transmitted in low nibble of second temperature byte. It is encoded in BCD, so...
In my DHT sensor, I'm consistently seeing a low time of 23-24us measured here: https://github.com/winlinvip/SimpleDHT/blob/1.0.12/SimpleDHT.cpp#L220 I'm not sure if it's because the microcontroller I'm using has timing issues, or it's...
remove bits2byte(), Save 35 bytes of ram memory
I was reading the lines in SimpleDHT.h and its states: // For DHT11, in H, such as 35H. // For DHT22, in RH%, such as 53%RH. However, the DHT11 data...
I noticed that there are read2( ) functions that take float arguments. I tried them but I only get integer results even though the DHT11 has a resolution of 0.1°C...
SimpleDH11 defines two public constructors: ``` SimpleDHT11(); SimpleDHT11(int pin); ``` and they are implemented like this: ``` SimpleDHT11::SimpleDHT11() { } SimpleDHT11::SimpleDHT11(int pin) : SimpleDHT (pin) { } ``` Which all...