#include#include"ds1302.h"#include"ds18b20.h"#include"delay.h"unsigned char duanx[16]={ 0x80,0x81,0x82,0x83,0x84,0x85,0x86,0x87, 0x08,0x18,0x28,0x38,0x48,0x58,0x68,0x78};//数码管段选编码unsigned char weix[12]={ 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x40,0x00};//数码管位选编码 0~9unsigned char i,j;//循环控制变量unsigned char xians[12]={0,0,0,0,0,0,0,0,0,0,0,0};//各数码管闪烁控制变量unsigned char xians_flg[12]={0,0,0,0,0,0,0,0,0,0,0,0};//各数码管闪烁标志unsigned char z_flg=0;//时间修改位标志位unsigned char xiu_flg=0;//时间修
飞网下载站,免费下载共享资料,内容涉及教育资源、专业资料、IT资源、娱乐生活、经济管理、办公文书、游戏资料等。