Skip to content
New issue

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

something worng in dht11.cpp #4

Open
2014c2g1 opened this issue Feb 9, 2020 · 0 comments
Open

something worng in dht11.cpp #4

2014c2g1 opened this issue Feb 9, 2020 · 0 comments

Comments

@2014c2g1
Copy link

2014c2g1 commented Feb 9, 2020

I test program ,but always wrong.
I edit dht.cpp .
in line 82.
uint8_t sum = bits[0] + bits[2];
I thing is
uint8_t sum = bits[0] +bits[1] + bits[2]+bits[3] ;
and the program work.
so,I think bits[1] and bits[3] not always 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant