MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 118

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 117
Chapter 6 - Samples
duration: sound duration. The higher the number, the longer the sound.
Example 1: BEEP 0xFF, 0x02
The output of the piezo diaphragm has the highest frequency and duration at 2 cycles per 65.3mS
which gives 130.6 mS
Example2: BEEP 0x90, 0x05
The output of the piezo diaphragm has a frequency of 0x90 and duration of 5 cycles per 65.3mS.
It is best to determine these macro arguments through experimentation and select the sound that
best suits the application.
The following is the BEEP Macro listing:
http://www.mikroelektronika.co.yu/english/product/books/PICbook/6_07Poglavlje.htm (2 of 4) [4/2/2003 16:18:57]
Zobrazit stránku 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 185 186

Komentáře k této Příručce

Žádné komentáře