winlinvip / SimpleDHT

Simple, Stable and Fast Arduino Temp & Humidity Sensors for DHT11 and DHT22. http://learn.adafruit.com/dht
MIT License
144 stars 61 forks source link

doc in SimpledDHT.h appears to be incorrect #52

Open DaleSchultz opened 1 year ago

DaleSchultz commented 1 year ago

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 sheet states it returns Relative Humidity. See https://www.electronicoscaldas.com/datasheet/DHT11_Aosong.pdf

I get a value of 35 right now at 23°C - and if that was absolute humidity the RH% would be well over 100%

I want to suggest that the .h file gets updated as a simple documentation issue.

winlinvip commented 1 year ago

Patch welcome.