1. 首页
  2. 编程语言
  3. C
  4. MLX90614 driver 驱动源码

MLX90614 driver 驱动源码

上传者: 2020-04-29 13:23:22上传 C文件 12.54KB 热度 24次
uintreadtemp(void) { SCK=0; start();//开始条件 SendByte(0x00);//发送从地址00 SendByte(0x07);//发送命令 start();//开始条件 SendByte(0x01);//读从地址00 bit_out=0; tempL=ReadByte();//读数据低字节 bit_out=0; tempH=ReadByte();//读数据高字节 bit_out=1; err=ReadByte();//读错误信息码 stop();//停止条件 return(tempH*256+
下载地址
用户评论