三星s344b0x蜂鸣器测试/如果(关键= =)/ /如果(beepfreqlt;20000)/ beepfreq…
代码说明:
三星S344B0X蜂鸣器测试 // if(key== + ) // if(BeepFreq100) // BeepFreq -=100 // SetBeepPwm(BeepFreq, 50) // printf("Now beep frequence is %d ", BeepFreq) // Delay(2000000) // StopBeepPwm() -Samsung S344B0X buzzer testing// if (key ==)// if (BeepFreqlt; 20000)// BeepFreq = 100// if (key ==-)// if (BeepFreqgt; 100)// BeepFreq-= 100// SetBeepPwm (BeepFreq, 50)// printf ( "Now beep frequence is% d n", BeepFreq)// Delay (2000000)// StopBeepPwm ()
下载说明:请别用迅雷下载,失败请重下,重下不扣分!