Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 11 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.