单片机程序,题目是:编写数码管显示012三个数循环。能给我注释,并有硬件...答:unsigned char code s8[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};/*共阳极数码管显示码*/ void delay(unsigned int z) //延时子程序,延时Z毫秒 { unsigned int x,y;for(x=z;x>0;x--)for(y=110;y>0;y--);} void main() //主函数 { int i;while...
用51单片机连接max7219芯片做秒计时器,求帮看下程序答:= { 0x7e, 0x30, 0x6d, 0x79, 0x33, 0x5b, 0x5f, 0x70, 0x7f, 0x7b, 0x00 };/*void delay1000( void ){unsigned char a, b, c; for ( c = 1; c > 0; c-- )for ( b = 142; b > 0; b-- )for ( a = 2; a > 0; a-- );}*///【增加】 延时1秒 函数...