51单片机 秒表设计答:// 51单片机 秒表,显示时间为0000—9999秒,启动、停止,(停止后再次启动复位)include<reg52.h> define uint unsigned int define uchar unsigned char uchar code table[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};uchar bai,shi;uint...
...请编写程序,使前两个数码管实现00到59的秒表功能,希望大神用汇编和中...答:请设计一个2位静态数码管从00到59显示的程序 include <reg51.h> unsigned char show[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};int n, j;qc()interrupt 1 using 3 {TH0=(65336-10000)/256;TL0=(65336-10000)%256;n++;if (n>=100){n=0;j++;if (j>=60)j=...