温度计设计#include "reg51.h"
char disp[11]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x40};
char disp_dot[11]={0xbf,0x86,0xdb,0xcf,0xe6,0xed,0xfd,0x87,0xff,0xef,0xc0};
sbit DQ = P1^3; //定义通信端口
//晶振12MHz
void delay_18B20(unsigned ...