User Manual

20
Example
char* sendchs=”abcdefgh”;
st=fw_lcd_dispstr(icdev,sendchs); //display abcdefgh
int fw_lcd_dispstr_ex(int icdev,wchar_t *str,int line, int offset, int len, int
flag)
Description
Set LCD display string
Parameters
icdev:Value of Device Handle.
str :The string to display
line: 1 or 2, show at line 1 or 2
offset: Value from 0 to 8
len: Size of string to show(in bytes)
flag: 0, show as bytes; 1, show as wide char
Return Value
0 if successful; otherwise, Nonzero.
Example
wchar_t sendchs[]=L”abcdefgh”;
st=fw_lcd_dispstr_ex(icdev,sendchs,2,2,7,1);
int fw_lcd_dispclear(int icdev)
Description
Clear the display string of LCD
Parameters
icdev:Value of Device Handle.
Return Value
0 if successful; otherwise, Nonzero.
Example
st= fw_lcd_dispclear (icdev);
2.3 Keyboard Special Functions
__int16 fw_PassIn(Int icdev,unsigned char ctime);
Description
Enter the status of getting keyboard key,only to receive fw_PassGet and
fw_PassCancelcommand after that.
Parameters
icdev :Value of device handle
ctime :the overtime time of input keys,unit is second;the maximum is 255s,
the minimum is 1s
Return:
0 if successful;otherwise Nonzero
__int16 fw_PassGet(Int icdev,unsigned char *rlen,unsigned char * cpass);
Description