51单片机 延时开关答:include <reg51.h>#define uchar unsigned char uchar ledtab[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0xff};uchar KEY,keyval,dat[2],sec,num,tick,time;sbit D1=P1^0;sbit D2=P1^1;void delay(uchar x){ uchar i,j;for(i=0;i<x;i++)for(j=0;j<125...