ds1b20实时测温 1602液晶显示
液晶1602实时测温度 #include #include #define uint unsigned int #define uchar unsigned char sbit DQ = P1^0; //温度传送数据IO口 char count,temp,flag; uchar temp_value; uchar xiaoshu; uchar TempBuffer[7]; uchar code tab[]={0x00,0x01,0x01,0x02,0x03,0x03,0x04,0x04,0x05,0x06,0x06,0x07
用户评论