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

Negative values update #11

Open
xand79 opened this issue Aug 20, 2017 · 0 comments
Open

Negative values update #11

xand79 opened this issue Aug 20, 2017 · 0 comments

Comments

@xand79
Copy link

xand79 commented Aug 20, 2017

I've successfully used this code for NodeMcu+ds18b20 (even without external pull-up resistor), but for negative values got only -0.125 or -0.0625 ones continuosly. Tnen, I have changed lines 50-51 at ds18b20.lua to "t = t - 0x10000" and now all works perfect. Tested in home refrigirator :)
By the way, here is error on circuit: Vcc and Gnd pins of sensor is shorten.
Best regards!

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