帮忙看一下单片机程序,设计一个定时器答:DISP: MOV A,R4 MOV B,#10 DIV AB MOV 21H,B MOV 22H,A MOV P2,#1 MOV A,21H MOV DPTR,#TABLE MOVC A,@A+DPTR MOV P0,A LCALL DELAY2 MOV P2,#0 ; 这里改成MOV P2,#2 就可以了 MOV A,22H MOV DPTR,#TABLE MOVC A,@A+DPTR MOV P0,A LCALL DELAY2 RET ...
课程设计 一个60秒定时器 给出电路图 详细点 好的加分答:include<reg52.h> define uchar unsigned char define uint unsigned int void delay(uchar);void display();uchar numl[]={ 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};uchar t0,flag;static uint num,n0;sbit start=P3^5;sbit stop=P3^6;sbit reset=P3^7;uchar ge,shi...