手机号登录
手机号重置密码
只需一步,快速开始
使用道具 举报
乐_乐(顺) 发表于 2012-7-27 17:15 0.48828125; //使用浮点数存储温度数据,温度数据由电压值换算得到,怎么换算的?
ttyp 发表于 2012-9-29 09:55 float vol = n * (5.0 / 1023.0*100); 改成 float vol = map(n,0,1023,0,100);是不是更好理解?
ttyp 发表于 2012-10-5 11:46 还是我错了,map不支持浮点的,不过意思是map的意思,而且我还少乘了5 map(n*5,0,1023,0,100) map的意思就 ...
test01 发表于 2012-10-5 22:20 map是什么库的函数
litian33 发表于 2013-1-1 15:07 上面的Bottom View看反了,以为是从上往下看呢,结果电路板上的指示灯怎么都不亮,以为主板坏了,结果一摸电 ...
Bobo 发表于 2013-1-4 09:03 vol = n * (5.0 / 1023.0*100); 这个计算公式是怎么得到的???
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|联系我们|极客工坊
GMT+8, 2026-6-5 01:24 , Processed in 0.045539 second(s), 25 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.