郭天祥课程文件,发光二极管0—F反复转换测试 } void time0()interrupt 1 { TH0=(65536-100)/256; TL0=(65536-100)%6; x++; if(x==8){p1=1;} else if(x==12) {p1=0;x=0;} }