
38
Example call
:
Buzzer_IND(3);
Includes
:
#include
“
UserLib.h
"
The
Buzzer_IND
function will select buzzer format and sound
according to
nIND_Type
. The sound format is as following
:
Sound format
Sound description
BUZZER_KEYPRESS
BUZZER_SCANED
BUZZER_FILEGOT
BUZZER_BOOT
BUZZER_TEST
BUZZER_WARNING
BUZZER_LOWBATTERY
Keyboard
Scanner good read
Got file
Power on
Test
Warning
Battery low warning
Description
:
getch
Purpose
:
Use
Getch
to read a character from the keyboard without echoing it
to the display.
Syntax
:
int getch(void);
Example call
:
In_char = getch();
Includes
:
#include
“
UserLib.h
"
Description
:
The
Getch
function reads a character from the keyboard and the
character is not echoed to the display.
Returns
:
The
Getch
function returns the character read from the keyboard:
TM_0, TM_1, TM_2, TM_3, TM_4, TM_5, TM_6, TM_7, TM_8,
TM_9, TM_DOT, TM_CANCEL, TM_ALPHA, TM_FN, TM_ESC,
TM_PW, TM_ENT, TM_SCAN, TM_UP, TM_DOWN, TM_LEFT,
TM_RIGHT, TM_TIMEOUT
。
getche
Purpose
:
Use
Getche
to read a character from the keyboard and echoing it to
the display.
Syntax
:
int getche(void);
Example call
:
In_char = getche();
Includes
:
#include
“
UserLib.h
"
Description
:
The
Getche
function reads a character from the keyboard and the
character is echoed to the display.
Returns
:
The
Getche
function returns the character read from the keyboard:
A~Z, 0~9, a comma, a blank space and a sign.
Содержание 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 ...