/*12Mhz晶振工作*/ #include #defineuintunsignedint #defineucharunsignedchar sbitvoice=P1^6; ucharcodesound[]={0xff,0x00, }; ucharzdjs=0,jp; del(yj); voidmain(void) { uintdpjs=0; ucharyj; TMOD=0x01,IE=0x82; TH0=0xd8,TL0=0xef; TR0=1;