AT89C52控制溫度傳感器DS18B20并在LM016L_LCD上顯示
//----------------------------------------
//函 數(shù) 名:main()
//函數(shù)類(lèi)型:void
//入口參數(shù):None
//出口參數(shù):None
//說(shuō)明:main函數(shù)
//----------------------------------------
void main()
{
uchar i;
lcd_init();
display();
while(1)
{
convert_tempt();
for(i=0;i10;i++)
{display_tempt(get_tempt());}
}
}本文引用地址:http://cafeforensic.com/article/201807/383597.htm
評(píng)論