beautypg.com

5keypad interface commands – Matrix Orbital LK204-25 Legacy User Manual

Page 27

background image

Set cursor position

FE 47 [col] [row]
254 71 [col] [row]
254 'G' [col] [row]

n/a

Moves cursor to the specified column and 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

Turns on the underline cursor.

Underline cursor off

FE 4B
254 75
254 'K'

Turns off the underline cursor.

Block cursor on

FE 53
254 83
254 'S'

on

Turns on the blinking block cursor.

Block cursor off

FE 54
254 84
254 'T'

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.

7.5Keypad Interface Commands

Table 7-2 Keypad Interface Commands

Command

Syntax

Default

Notes

Auto repeat mode on

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

off

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

Applies to keypad only.

Auto transmit key
presses on

FE 41
254 65
254 'A'

on

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

Up to 10 key presses buffered until polled.

Clear key buffer

FE 45
254 69
254 'E'

n/a

Clear unread key presses.

Poll keypad

FE 26
254 38
254 '&'

n/a

Returns buffered key presses to application.
Returns 0x00 if no key presses. High order bit
set unless this is the last/only key press.

Set debounce time

FE 55 [time]

52 ms

Resolution: 1 = 0.6554 ms [time] is a numeric

LK204-25 rev 1

27