![Acrosser Technology ANR-C236N1-K1D00 Скачать руководство пользователя страница 47](http://html1.mh-extra.com/html/acrosser-technology/anr-c236n1-k1d00/anr-c236n1-k1d00_user-manual_2841642047.webp)
ANR-C236N1-K Series User Manual
47
www.acrosser.com
Syntax:
i32 cursorActionLcm(i32 type)
Description:
According to the argument ‘type’, move the cursor to the
indicated position. The displayed text is not altered.
type = HOME, move the cursor to row 0, column 0.
type = MOVERIGHT, move the cursor to the column which
is to the right of its original position if the original column <
15.
type = MOVELEFT, move the cursor to the column which
is to the left of its original position if the original column > 0.
type = MOVEBACK, move the cursor to the column which
is to the left of its original position and delete the character
at the new position if the original column > 0.
Parameters:
None.
Return Value:
0 after the cursor is moved.
Syntax:
i32 displayLcm(bool mode)
Description:
Show the text on the LCM screen or eliminate the text on
the LCM screen. The content of the text is not altered.
mode = true, show the text.
mode = false, eliminate the text.
Parameters:
None.
Return Value:
0 after the text has been shown or eliminated.
Syntax:
i32 getKeyLcm(void)
Description:
Scan the LCM and return the identification of the pressed
direction key.
Parameters:
None.
Return Value:
‘UP’ if the ‘up’ direction key is pressed.
‘RIGHT’ if the ‘right’ direction key is pressed.
‘LEFT’ if the ‘left’ direction key is pressed.
‘DOWN’ if the ‘down’ direction key is pressed.
‘NONE’ if none of the keys is pressed.
Syntax:
i32 getPositionLcm(i32 *row, i32 *column)
Description:
Get the position of the cursor and write the coordinate to
the memory pointed at by arguments ‘row’ and ‘column’.
Parameters:
None.
Return Value:
0 if the request for the coordinate has been served.