I have some problems with the library.
I have an arduino due and an am2301 sensor (DHT21).
The temperature at the moment that I tested the sensor was more or less 22 degrees.
I set up: #define TIMEOUT 52500 in dht.cpp
Data showned in dht_test.ino is:
Humidity 2.3
Temperature 0.9
Any idea??
Thanks!