6 keypad interface commands – Matrix Orbital GLK24064-25 Legacy User Manual
Page 32

GLK24064-25 rev. 06
32
Command
Syntax
Notes
Direct screen
write bitmap
FE 64 [x
1
][y
1
][x
2
][y
2
][data]{[data]}
254 100 [x
1
][y
1
][x
2
][y
2
][data]{[data]}
254 'd' [x
1
][y
1
][x
2
][y
2
][data]{[data]}
Sends bitmap from host/controller to the GLK24064-
25. x
1
and x
2
must lie on byte boundaries. See section
Initialize strip
chart
FE 6A [ref][x
1
][y
1
][x
2
][y
2
]
254 106 [ref][x
1
][y
1
][x
2
][y
2
]
254 'j' [ref][x
1
][y
1
][x
2
][y
2
]
[ref] is a reference number from 0 – 6, allowing 7 strip
charts to be defined.
Shift strip chart
FE 6B [ref]
254 107 [ref]
254 'k' [ref]
[ref] selects the strip chart and the direction in which it
moves. Movement is always 8 pixels at a time.
MSB = 0 shifts left
MSB = 1 shifts right.
8.6 Keypad Interface Commands
Table 8-3 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
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 = 0.6554 ms. [time] is a numeric
multiplier.