80C51单片机,12mhz.利用中断程序控制8个灯依次亮灭,定时时间为1秒。答:define uint unsigned int unsigned char tab[]={0xfe,0xfc,0xf8,0xf0,0xe0,0xc0,0x80,0x00,0xff};void delay(uint e) //延时函数,延时为0.5s { uint i,j;while(e--){ for(i=0;i<500;i++)for(j=0;j<110;j++);} } void Timer0Init(){ TMOD|=0x01;//选择为定时器0...