nosound

nosound是一個程式函式名。

基本介紹

  • 外文名:nosound
  • 功能:關閉PC揚聲器
  • 用法:void nosound
  • 類型:程式函式名
函式名: nosound
功 能: 關閉PC揚聲器
用 法: void nosound(void);
程式例:
/* Emits a 7-Hz tone for 10 seconds.
True story: 7 Hz is the resonant frequency of a chicken's skull cavity.
This was determined empirically in Australia, where a new factory
generating 7-Hz tones was located too close to a chicken ranch:
When the factory started up, all the chickens died.
Your PC may not be able to emit a 7-Hz tone.
*/
int main(void)
{
sound(7);
delay(10000);
nosound();
}

相關詞條

熱門詞條

聯絡我們