单片机实现的智能数字钟,很好的一份论文,欢迎大家下载啊,#include
#include
#define uchar unsigned char #define uint unsigned int uchar duan_code[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; uchar duan_code1[]={0xc0,0xf9,0x64,0x70,0x59,0x52}; sbit led0=P1^4; sbit led1=P1^5; sbit led2=P1^6; sbit le
这个钟设计的不错,就是没有电路图。如果有电路图的话就更好了,有待改进呐