51 单片机共阴数码管静态显示程序#include#define uchar unsigned char#define uint unsigned int/数码管的段码编码Uchar table16 = 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71;void main() /主函数P0 = table5; /显示 5,大家可以修改里面的数据。while(1); /程序不再执行其他步骤;