#include#include"ds1302.h"#include"ds18b20.h"#include"delay.h"unsignedcharduanx[16]={0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87,0x08,0x18,0x28,0x38,0x48,0x58,0x68,0x78};//数码管段选编码unsignedcharweix[12]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x40,0x00};//数码管位选编码0~9un