beautypg.com

Matrix Orbital LK202-25 Legacy User Manual

Page 12

background image

Set Debounce Time
ASCII 'U', Hex 55, Decimal 85
Syntax 0xFE 0x55

To set the time between key press and key read, send a command prefix followed by the character 'U' and a number to
define the debounce time. All key types with the exception of latched piezo switches will"bounce" for a varying time,
depending on their physical characteristics. The default debounce time for the module is about 65mS, which is adequate
for most membrane keypads. This time equates to a setting of 8 using this command as there is a debounce time resolution
of 8192 microseconds.

Create Custom Character
ASCII 'N', Hex 4E, Decimal 78
Syntax 0xFE 0x4E<8 bytes>

This command creates a custom character. For the LK202-25 the user can have up to eight custom characters. To execute
this command, send a command prefix followed by the character 'N'. The display will now await the number which identi-
fies the custom character. This number must be between 0x00 and 0x07. When the module determines what character it's
working on, then the user must send 8 bytes which define the display character. See the diagram below for and explanation
of the display character structure.

Diagram A

MSB

LSB

* * * 1

2

3

4

5

Data Byte 1

* * * 6

7

8

9

10

Data Byte 2

* * * 11 12 13 14

15

Data Byte 3

* * * 16 17 18 19

20

Data Byte 4

* * * 21 22 23 24

25

Data Byte 5

* * * 26 27 28 29

30

Data Byte 6

* * * 31 32 33 34

35

Data Byte 7

* * * 36 37 38 39

40

Data Byte 8

Pixel Layout of Display Characters

General Purpose Output On
ASCII ' V', Hex 56, Decimal 86
Syntax 0xFE 0x56

To turn a general output purpose on, send a command prefix followed by the character 'V' and hex number which corre-
sponds to the output which will be turned on. To turn on output five, the sequence would be:

0xFE

0x56

05H

1 2 3 4 5
6 7 8 9 10

11 12 13 14 15
16 17 18 19 20
21 22 23 24 25
26 27 28 29 30
31 32 33 34 35
36 37 38 39 40

Cursor Line

11