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...
51单片机的秒表计时器设计,求大神帮忙设计电路图和C语言程序!!_百度知...答:这个程序可以实现秒的计时,按键控制开始、暂停、清零功能,更多功能自己在看清程序的基础上进行改进。include <reg51.H>sbit P3_5 =P3^5;unsigned char code dispcode[]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8, 0x80,0x90,0x88,0x83,0xC6,0xA1,0x86,0x8E,0x00};unsigned char...
利用51单片机,6个数码管设计一秒表。要求:刚开始时间为12点(120000...答:include<intrins.h> define uchar unsigned char define uint unsigned int define show P2 code table[16]= { 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71 };code tuble[9]= { 0x00,0x7f,0xbf,0xdf,0xef,0xf7,0xfb,0xfd,0xfe };u...
求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...