GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This PR is meant as a fix for #128. See the issue for more details.
I've found TinyDHT.cpp @ adafruit/TinyDHT, which uses a different implementation to check if the read data is valid. It works fine with my DHT11 sensors.
Attention: This change is NOT tested with DHT21 and DHT22 sensors!
Use DHT11 checksum verification from TinyDHT libary (fixes #128)
See #128 (comment), apparently this issue is a bit more complicated. But I have written a small fix locally (+ improved some of the error messages).
Fix is in 1.8.0