beautypg.com

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

Page 33

background image

33

Command Syntax

Notes

Write to bar
graph

FE 69 [ref][value]
254 105 [ref][value]
254 'i' [ref][value]

Fills the bar graph referred to as [ref] from start to
[value]. [value] is in pixels.

Display saved
bitmap

FE 62 [ref][x][y]
254 98 [ref][x][y]
254 'b' [ref][x][y]

Causes bitmap [ref] to be displayed with its top left
corner starting at position (x,y).

8.5 Keypad Interface Commands

Table 8-3 Keypad Interface Commands

Command Syntax

Default

Notes

Auto repeat mode on

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

off

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

Auto repeat mode off

FE 60
254 96
254 '`'

off

Applies to keypad only.

Auto transmit
keypresses on

FE 41
254 65
254 'A'

on

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

Auto transmit
keypresses off

FE 4F
254 79
254 'O'

off

Up to 10 keypresses buffered until polled.

Clear key buffer

FE 45
254 69
254 'E'

n/a

Clear unread keypresses.

Poll keypad

FE 26
254 38
254 '&'

n/a

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

Set debounce time

FE 55 [time]
254 85 [time]
254 'U' [time]

52 ms

Resolution: 1 = 6.554 ms