【文件属性】:
文件名称:AVR 单片机数码管显示时钟程序
文件大小:4KB
文件格式:TXT
更新时间:2016-05-14 13:31:55
AVR 单片机 数码管 时钟程序
AVR 单片机数码管显示时钟程序
适合初学者
const uchar led_7[16] = {0x28, 0x7E, 0xA2, 0x62, 0x74, 0x61, 0x21, 0x7A, 0x20, 0x60,0xff};//common of +
const uchar position[8] = {0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe};
uchar time[4]; //时间计数
volatile uchar disp_buff[8]; //显示缓冲区
volatile uchar time_count = 0;