数码显示时间的89c51单片机设计

日期:2021-10-17 23:44:59 人气:1

数码显示时间的89c51单片机设计

附B:程序清单
/**单片机STC89C52 8位共阳数码管 12M晶振**/
//*******P0段选,P2位选*******//
#include <reg51.h>
#define uchar unsigned char
#define uint unsigned int
uchar code tab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,
    A+
热门评论