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

ENV中 oneline packages 18B20 version choice 有V1.0.0 和 latest version 两种选择,请问有区别说明吗 #10

Open
markoizhou opened this issue Dec 1, 2022 · 1 comment

Comments

@markoizhou
Copy link

markoizhou commented Dec 1, 2022

image
ENV上?显示 there is no help, 可能需要对比下代码了。谢谢

@markoizhou
Copy link
Author

在使用时要关注一下作者所述的 注意事项
注意事项
DS18B20 是采用单总线通讯的传感器,本软件包采用 GPIO 模拟单总线时序。DS18B20 的读写数据要求比较严格,且时间不短,故无法使用关中断或者关调度的方式实现独占 CPU 以保证时序完整正确,即有可能被系统的线程调度时打断其时序,因此可能出现读取数据失败的情况,请用户注意。
image

需要使用温度的时候需要作一个判断 滤除明显错误的值

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