beautypg.com

Matrix Orbital LK202-25 Legacy User Manual

Page 3

background image

4 Keypad Interface

19

4.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.3 I

2

C Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.4 RS-232 Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.5 Keypad Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.5.1 Auto repeat mode on (254 126 [mode]) (R) . . . . . . . . . . . . . . . . . . . . . . 21
4.5.2 Auto repeat mode off (254 96) (R) . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.5.3 Auto transmit keypresses on (254 65) (R) . . . . . . . . . . . . . . . . . . . . . . . 21
4.5.4 Auto transmit keypresses off (254 79) (R) . . . . . . . . . . . . . . . . . . . . . . . 22
4.5.5 Clear key buffer (254 69) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.5.6 Poll keypad (254 38) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.5.7 Set debounce time (254 85 [time]) (R) . . . . . . . . . . . . . . . . . . . . . . . . . 22

5 Bar Graphs and Special Characters

22

5.1 Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

5.1.1 Initialize wide vertical bar graph (254 118) . . . . . . . . . . . . . . . . . . . . . . 23
5.1.2 Initialize narrow vertical bar graph (154 115) . . . . . . . . . . . . . . . . . . . . . 23
5.1.3 Draw vertical bar graph (254 61 [column] [height]) . . . . . . . . . . . . . . . . . . 23
5.1.4 Initialize horizontal bar graph (254 104) . . . . . . . . . . . . . . . . . . . . . . . . 23
5.1.5 Draw horizontal bar graph (254 124 [column] [row] [dir] [length]) . . . . . . . . . . 23
5.1.6 Define custom character (254 78 [c] [8 bytes]) . . . . . . . . . . . . . . . . . . . . 24
5.1.7 Initialize Medium Digits (254 109) . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.1.8 Draw Medium Digits (254 111 [row][column][digit]) . . . . . . . . . . . . . . . . . 25

6 Miscellaneous Commands

25

6.1 Command List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

6.1.1 Remember (254 147 [0|1]) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.1.2 Clear display (254 88) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.1.3 Set Contrast (254 80 [contrast]) (R) . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.1.4 Set Contrast and save (254 145[contrast]) . . . . . . . . . . . . . . . . . . . . . . . 26
6.1.5 Backlight on (254 66[minutes]) (R) . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.1.6 Backlight off (254 70) (R) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
6.1.7 Set Backlight brightness (254 153 [brightness]) (R) . . . . . . . . . . . . . . . . . . 26
6.1.8 Set Backlight brightness and save (254 152 [brightness]) . . . . . . . . . . . . . . . 26
6.1.9 Load startup screen (254 64 [40 characters]) . . . . . . . . . . . . . . . . . . . . . . 27
6.1.10 General purpose output off (254 86 [gpo #]) . . . . . . . . . . . . . . . . . . . . . . 27
6.1.11 General purpose output on (254 87 [gpo #]) . . . . . . . . . . . . . . . . . . . . . . 27
6.1.12 Remember GPO State (254 195 [gpo#][gpo value]) . . . . . . . . . . . . . . . . . . 27
6.1.13 Set I

2

C address (254 51 [address]) (R) . . . . . . . . . . . . . . . . . . . . . . . . . 28

6.1.14 Read module type (254 55) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
6.1.15 Set RS-232 port speed (254 57 [speed]) . . . . . . . . . . . . . . . . . . . . . . . . 28
6.1.16 Set Serial Number (254 52 [byte1] [byte2]) . . . . . . . . . . . . . . . . . . . . . . 29
6.1.17 Read Serial Number (254 53) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
6.1.18 Read Version Number (254 54) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

6.2 Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Matrix Orbital

LK202-25

iii