Acrosser ANR-IH61N1/A/B User Manual
Page 67
67
4. i32 displayLcm( bool mode )
Description: Show the text on the LCM screen or eliminate the text on the LCM screen. The
xt.
has been shown or eliminated.
d return the identification of the pressed direction key.
direction key is pressed.
‘RIGHT’ if the ‘right’ direction key is pressed.
ey is pressed.
n key is pressed.
‘NONE’ if none of the keys is pressed.
)
nd write the coordinate to the memory pointed at by
rguments ‘row’ and ‘column’.
t for the coordinate has been served.
f the cursor according to the arguments ‘row’ and ‘column’.
as been set.
following
conditions:
.
is less than 0.
urrent position of the cursor; print the text pointed at by ‘info’ to the
text is less than ‘length’, the number of the characters to be printed is:
content of the text is not altered.
mode = true, show the text.
mode = false, eliminate the te
Return value: 0 after the text
5. i32 getKeyLcm( void )
Description: Scan the LCM an
Return value: ‘UP’ if the ‘up’
‘LEFT’ if the ‘left’ direction k
‘DOWN’ if the ‘down’ directio
6. i32 getPositionLcm( i32 *row, i32 *column
Description: Get the position of the cursor a
a
Return value: 0 if the reques
7. i32 setPositionLcm( i32 row, i32 column )
Description: Set the position o
Return value: 0 after the position h
-1 if the argument ‘row’ or ‘column’ meets any of the
(1) row is not 0
(2) row is not 1.
(3) column
(4) column is greater than 15.
8. i32 showLcm( i32 length, u8 *info )
Description: Start from the c
LCM screen. The number of characters to be printed is at most ‘length’. If the remaining columns
available for printing the
16 – ( column number of the current position of the cursor ).
Return value: 0 after the text is printed.