![Argox PT-10 Скачать руководство пользователя страница 71](http://html.mh-extra.com/html/argox/pt-10/pt-10_programming-manual_2969261071.webp)
70
off_beeper
Purpose
:
Terminate beeper sequence.
Syntax
:
void off_beeper(void);
Example call
:
off_beeper( );
Includes
:
#include “LIB_CL.h ”
Description
:
The off_beeper function terminates beeper sequence immediately
if there is a beeper sequence in progress.
Returns
:
none
on_beeper
Purpose
:
Assign a beeper sequence to instruct beeper action.
Syntax
:
void on_beeper(int *sequence);
Example call
:
int beep_twice[50] = {30,10,0,10,30,10,0,0};
on_beeper(beep_twice);
Includes
:
#include “LIB_CL.h ”
Description
:
A beep frequency is an integer used to specify the frequency (tone)
when the beeper activates. The actual frequency that the beeper
activates is not the value specified to the beep frequency. It is
calculated by the following formula.
Beep Frequency = 76000 / Actual Frequency Desired
For instance, to get a frequency of 2000Hz, the value of beep
frequency should be 38. If no sound is desired (pause), the beep
frequency should beset to 0. A beep with frequency 0 does not
terminate the beeper sequence. Suitable frequency for the beeper
ranges from 1 to 2700Hz, where peak
at 2000Hz.
Returns
:
The on_beeper function has no return value.
SetBuzzerVol
Purpose
:
Set the buzzer volume.
Syntax
:
void SetBuzzerVol(int slVol);
Example call
:
SetBuzzerVol(0);//Buzzer close.
Includes
:
#include “LIB_CL.h ”
The SetBuzzerVol function can set the buzzer volume.
slVol Buzzer
vloume
0 close
1 Low
2 Medium
Description
:
3 High
Returns
:
None.
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...