内容简介:用仿真实现,采用6位一体的共阴数码管,P0口输出段码,P2口输出位码。仿真图如下:程序如下 include include define uint unsigned int define uchar unsigned char uchar code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,//0~9段码 0x77...
用户评论
havenhome