ds18b20-1602测温

#include<reg51.h> #define uchar unsigned char #define uint unsigned int sbit DQ=P2^4;//temp sbit RS=P2^6; sbit RW=P2^5; sbit EN=P2^7; uchar code str1[]={" temperature: "}; uchar code str2[]={""}; uchar data disdata[5]; uint tvalue; uchar tflag; ...
单片机 | 2020-03-30 21:47 | 阅读 1438 次 | 评论 2 条
浏览198974次
最新评论