AT89C52控制温度传感器DS18B20并在LM016L_LCD上显示
//----------------------------------------
//函 数 名:main()
//函数类型:void
//入口参数:None
//出口参数:None
//说明:main函数
//----------------------------------------
void main()
{
uchar i;
lcd_init();
display();
while(1)
{
convert_tempt();
for(i=0;i10;i++)
{display_tempt(get_tempt());}
}
}
![](https://webstorage.eepw.com.cn/images/2014/m/wx.png)
加入微信
获取电子行业最新资讯
搜索微信公众号:EEPW
或用微信扫描左侧二维码