Shows wrong type
MickyRoth opened this issue · 3 comments
MickyRoth commented
I have a DHT11 (the blue sensor), but it shows type "22" in the dhtnew_test sketch.
Temp and Humid readings are OK, though. Is this a known problem?
RobTillaart commented
Thanks for the issue,
Not a known problem, the library has been around for a long time and I do not recall a similar issue.
Do you override the type to get the output?
(Updated, the dht11 does one decimal too)
RobTillaart commented
The dht11 and dht22 have slightly different math to get from raw bits to temp/humidity.
That's why I asked for if you set the type.
RobTillaart commented
Assuming there are no further questions I close this issue. Feel free to reopen if needed.