当前位置:网站首页>The problem of calling ds18b20 through a single bus
The problem of calling ds18b20 through a single bus
2022-08-05 06:10:00 【MuggleTan】
1. The single bus has high timing requirements, and the delay should be long enough, at least 93.57ms (9 bits), and at most 750ms (12 bits), and then the correct data can be read.
2. The read temperature bytes should be usedUnsigned char or int storage, the temperature read directly with char will be problematic, because char has only seven bits, and one is the sign bit.
边栏推荐
猜你喜欢
随机推荐
Contextual non-local alignment of full-scale representations
Unity物理引擎中的碰撞、角色控制器、Cloth组件(布料)、关节 Joint
【UiPath2022+C#】UiPath 练习-数据操作
【Machine Learning】1 Univariate Linear Regression
D39_向量
【机器学习】1单变量线性回归
Getting Started 11 Automatically add version numbers
乘云科技受邀出席2022阿里云合作伙伴大会荣获“聚力行远奖”
CIPU,对云计算产业有什么影响
Cocos Creator小游戏案例《棍子士兵》
spark算子-map vs mapPartitions算子
【Day8】 RAID磁盘阵列
Cocos Creator开发中的事件响应
来来来,一文让你读懂Cocos Creator如何读写JSON文件
spark算子-wholeTextFiles算子
【Day1】VMware软件安装
vim的三种模式
云游戏未来展望
Unity3D中的ref、out、Params三种参数的使用
添加新硬盘为什么扫描不上?如何解决?