资 源 简 介
三星S344B0X蜂鸣器测试
// if(key== + )
// if(BeepFreq<20000)
// BeepFreq += 100
// if(key== - )
// if(BeepFreq>100)
// 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 ()