PinL=PinL*107.3741824; //转换频率控制字 word[4]=PinL&(0xff); PinL=PinL>>8; word[3]=PinL&(0xff); PinL=PinL>>8; word[2]=PinL&(0xff); PinL=PinL>>8; word[1]=PinL&(0xff); key6=0; //wclk=0;fq_ud=0; key2=1; key4=1; delay(50); word[0]=word[0]&0xFC; //工作方式位 这样计算可以吗?40M晶振 |