MikroElektronika PIC Microcontrollers PIC16 Spezifikationen Seite 118

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 186
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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]
Seitenansicht 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 185 186

Kommentare zu diesen Handbüchern

Keine Kommentare