2020年4月29日
摘要: int ADValue;//16bit float Temp=0.0 若温度为负则用补码表示:if(ADValue>=4096){ADValue -=1;ADValue ~=ADValue;} temp=tp*0.0625*100+0.5; //留两个小数点就*100,+0.5是四舍五入,因为C语言 阅读全文
posted @ 2020-04-29 14:22 杰瑞鼠 阅读(217) 评论(0) 推荐(0) 编辑