beautypg.com

5 keypad interface commands – Matrix Orbital LK202-24-USB User Manual

Page 28

background image

LK202-24-USB rev 1

28

Command Syntax

Default

Notes

254 'G' [col] [row]

The cursor marks the text insertion point in
this and all commands.

Send cursor home

FE 48
254 72
254 'H'

This command moves the cursor to the top left
of the display area.

Underline cursor on

FE 4A
254 74
254 'J'

off
R

Turns on the underline cursor.

Underline cursor off

FE 4B
254 75
254 'K'

R

Turns off the underline cursor.

Block cursor on

FE 53
254 83
254 'S'

on
R

Turns on the blinking block cursor.

Block cursor off

FE 54
254 84
254 'T'

R

Turns off the blinking block cursor.

Cursor left

FE 4C
254 76
254 'L'

Moves the cursor one position to the left. If the
cursor is already at the beginning of a line it will
move to the end of the other line.

Cursor right

FE 4D
254 77
254 'M'

Moves the cursor one position to the right. If the
cursor is already at the end of a line it will move
to the beginning of the other line.

6.5 Keypad Interface Commands

Note: The letter "R" in the Default column indicates that this state can be saved to nonvolatile memory with
the Remember command. See section 5.1.1.

Table 6-2 Keypad Interface Commands

Command Syntax

Default

Notes

Auto repeat mode on

FE 7E [0x00|0x01]
254 126 [0|1]
254 '~' [0|1]

off
R

Applies to keypad only.
0x00 = 200 ms typematic,
0x01 = key down/key up codes sent.

Auto repeat mode off

FE 60
254 96
254 '`'

off
R

Applies to keypad only.

Auto transmit key
presses on

FE 41
254 65
254 'A'

on
R

Sets auto transmit mode for keypad. Key
presses are transmitted to host without polling.

Auto transmit key
presses off

FE 4F
254 79
254 'O'

off
R

Up to 10 key presses buffered until polled.

Clear key buffer

FE 45
254 69
254 'E'

n/a

Clear unread key presses.