MikroElektronika PIC Microcontrollers PIC16 Especificações Página 118

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 186
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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]
Vista de página 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 185 186

Comentários a estes Manuais

Sem comentários