51单片机如何让一个数码管闪烁而其他数码管一直保持亮的状态不受影响...答:下面是4位数码管闪烁程序:uchar code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d, 0x07,0x7f,0x6f,0x77};//七段码表 modtable={ {0,0,0,0},{1,0,0,0},{0,1,0,0},{0,0,1,0},{0,0,0,1} ,{1,1,1,1} } //5种模式4个数码管,所以表格为5*4 //4个0...
用51单片机C语言编写程序实现6位共阴极数码管循环显示0123456789ABCDEF...答:include<reg51.h># define uint unsigned int# define uchar unsigned charcode uchar shu[] = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07, /* 0 1 2 3 4 56 7*/0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71}; //数码管段选 /* 8 9a b c def*/...