beautypg.com

Matrix Orbital LK404-25 User Manual

Page 25

background image

21

6.4 Clear Key
Buffer

Dec
Hex
ASCII

254 69

FE 45

■ E

v5.0

Clears all key presses from the key buffer.


6.5 Set Debounce
Time

Dec
Hex
ASCII

254 85

FE 55

■ U

Time
Time
Time

v5.0

Sets the time between a key press and a key read by the display. Most switches will bounce when pressed; the
debounce time allows the switch to settle for an accurate read. Default is 8 representing approximately 52ms.

Time

Byte

Debounce increment (debounce time =

Time

* 6.554ms).

6.6 Set Auto
Repeat Mode

Dec
Hex
ASCII

254 126

FE 7E

DEL

Mode
Mode
Mode

v5.0

Sets key press repeat mode to typematic or hold. In typematic mode if a key press is held, the key value is
transmitted immediately, then 5 times a second after a 1 second delay. In hold mode, the key down value is
transmitted once when pressed, and then the key up value is sent when the key is released. Default is typematic.

Mode

Byte

1 for hold mode or 0 for typematic.


6.7 Auto Repeat
Mode Off

Dec
Hex
ASCII

254 96

FE 60

■ `

v5.0

Turns auto repeat mode off. Default is on (typematic).


6.8 Assign Keypad
Codes

Dec
Hex
ASCII

254 213

FE D5

■ ╒

Key Down Key Up
Key Down Key Up
Key Down Key Up

v5.0

Assigns the key down and key up values sent to the host when a key press is detected. A key up and key down
value must be sent for every key, a value of 255 will leave the key unaltered. Defaults are shown below.

Key Down

Bytes [25]

Key down values, beginning at row one column one moving right then down.

Key Up

Bytes [25]

Key up values, beginning at row one column one moving right then down.

Table 16: Default Key Down Values

Key Down

A(65) B(66)

C(67)

D(68) E(69)

F(70) G(71)

H(72)

I(73)

J(74)

K(75)

L(76)

M(77) N(78) O(79)

P(80) Q(81)

R(82)

S(83)

T(84)

U(85) V(86) W(87) X(88)

Y(89)

Table 17: Default Key Up Values

Key Up

a(97)

b(98)

c(99)

d(100) e(101)

f(102) g(103)

h(104)

i(105)

j(106)

k(107)

l(108)

m(109) n(110) o(111)

p(112) q(113)

r(114)

s(115)

t(116)

u(117) v(118) w(119) x(120) y(121)