用51单片机做秒表,按键按下停止计时,再按一次接着计时答:include <reg51.h> include <intrins.h> unsigned char data dis_digit;unsigned char key_s, key_v;unsigned char code dis_code[11]={0xc0,0xf9,0xa4,0xb0, // 0, 1, 2, 3 0x99,0x92,0x82,0xf8,0x80,0x90, 0xff};// 4, 5, 6, 7, 8, 9, off unsigned char dis_buf[...
求51单片机运动秒表程序,精确度0.1秒!答:JMP MAIN ORG 000BH JMP TIMER0 ORG 0030H ;MAIN:CLR P3.6 MOV SP,#60H MOV TMOD,#01 SETB EA SETB ET0 SETB TR0 MOV TH0,#4CH ;50ms定时 MOV TL0,#00H MOV R0,#Count MOV A,#00H CLR_1:MOV @R0,A ;清零 INC R0 CJNE R0,#49H,CLR_1 DISP...