利用51单片机,通过两位数码管显示秒,按键实现计时和停止计时 具体内容...答:A,R2 CJNE A,#100,T0E MOV R2,#0 INC R0 CJNE R0,#10,T0E MOV R0,#0 INC R1 CJNE A,#10,T0E MOV R1,#0T0E: RETIT004: CLR TR0 RETITABLE: ; 共阴极数码管显示代码表 DB 3FH,06H,5BH,4FH,66H ;01234 DB 6DH,7DH,07H,7FH,6FH ;56789END ...
怎样设计51单片机程序,让其led数码管按顺序显示图片坐标?答:include<reg51.h> #define uchar unsigned charuchar code ledtab[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x40};//0-9unsigned char sec=0,min=0,hour=12,scanled;unsigned char key,flashbit,mode,time; unsigned char disdat[8];sbit led=P1^0;void delay(...