#include "reg51.h"
#include "intrins.h" //_nop_();延时函数用
#define dm P0 //段码输出口
#define uchar unsigned char
#define uint unsigned int
***it DQ=P2^7; //温度输入口
***it w0=P2^0; //数码管4
***it w1=P2^1; //数码管3
***it w2=P2^2; //数码管2
***it w3=P2^3; //数码管1
***it LED=P1^6; //指示灯
#include "reg51.h"
#include "intrins.h" //_nop_();延时函数用
#define dm P0 //段码输出口
#define uchar unsigned char
#define uint unsigned int
***it DQ=P2^7; //温度输入口
***it w0=P2^0; //数码管4
***it w1=P2^1; //数码管3
***it w2=P2^2; //数码管2
***it w3=P2^3; //数码管1
***it LED=P1^6; //指示灯
举报