
40
Purpose
:
Use
kbhit_GetScan_DataLen
function to get read barcod data length
when
TM_SCAN
is returned.
Syntax
:
int kbhit_GetScan_DataLen(void);
Example call
:
nLen = kbhit_GetScan_DataLen();
Includes
:
#include
“
UserLib.h
"
Description
:
The
kbhit_GetScan_DataLen
function gets the good read barcode
data length from the
kbhit
function.
Returns
:
The
kbhit_GetScan_DataLen
returns the read barcode data lengh.
LED_IND
Purpose
:
Use the
LED_IND
function to control LED status
Syntax
:
void LED_IND(int nMode, int nTime);
Example call
:
LED_IND(2, -1); // Red light is on permanently
Includes
:
#include
“
UserLib.h
"
Description
:
The
LED_IND
function provides LED indicator control. Through
nMode
to set display mode. And
nTime
timer controls LED display
time. The timer unit is 0.5 second and -1 means without time
counting
:
Display mode
(nTime)
Display method
0 Off
1
Orange light is on permanently
2
Red light is on permanently
3
Green light is on permanelty
4
Red and orange light flash alternately
5
Green and orange light flash alternately
6
Green light flashes
7
Red light flashes
8
Red and green light flash alternately
9
Orange light flashes
Uart0_Close
Purpose
:
Use
Uart0_Close
function to close the serial port (UART) of
collector or simulator
Syntax
:
Void Uart0_Close(void);
Example call
:
Uart0_Close();
Includes
:
#include
“
UserLib.h
"
Description
:
The
Uart0_Close
function closes the serial port (UART) of collector
of simulator
Содержание 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 ...