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.
9 years, 3 months ago.
DHT22 interface with Nucleo
how to improve this :-) it's error 2003
Question relating to:

1 Answer
9 years, 3 months ago.
Hello Nucleo! Most likely you need to adjust BITREADTIME in the header file. As I explain in the documentation this value is the wait time based on the original LP mbed device. So if you are on another device you need to adjust BITREADTIME on faster machines. The 2003 error simply means the final checksum from dth data read does not match the data interpreted checksum. Once you get the value that works it will work very well with no adjustments after that so each processor needs its own value is the issue here. Hope that gets you going. PKS