6 years, 2 months ago.

DHT11-HelloWorld Library problem

I am trying to use a DHT22 sensor with the arch ble board. I imported the program DHT11-HelloWorld. (This library supports both DHT11 and DHT22). But it keeps giving error. Upon further debugging i further found that the error was due to data timeout. (line no 107 in dht.cpp file). So if thats the case the error is due to the timing issues. How do I fix that, or is there any other library that can be used. Thanks in advance.

Be the first to answer this question.