Matrix Orbital LK162-12 Legacy User Manual
Page 3

LK162-12 rev 4
3
4.5 Keypad Commands.........................................................................................................................................21
4.5.1 Auto repeat mode on (254 126 [mode]) (R)…………………….........................................................20
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)..........................................................................................21
4.5.5 Clear key buffer (254 69)........................................................................................................................21
4.5.6 Poll keypad (254 38). ..............................................................................................................................22
4.5.7 Set debounce time (254 85 [time]) (R)…..............................................................................................21
5. Bar Graphs and Special Characters.............................................................................. 24
5.1 Command List…………………………..………………. ................................................................................24
5.1.1 Initialize wide vertical bar graph (254 118)…......................................................................................24
5.1.2 Initialize narrow vertical bar graph (154 115)……………..................................................................24
5.1.3 Draw vertical bar graph (254 61 [column] [height])…………….......................................................24
5.1.4 Initialize horizontal bar graph (254 104)…...........................................................................................24
5.1.5 Draw horizontal bar graph (254 124 [column] [row] [dir] [length])……………..............................24
5.1.6 Define custom character (254 78 [c] [8 bytes])…………...................................................................24
6. Miscellaneous Commands ............................................................................................ 27
6.1 Command List..................................................................................................................................................26
6.1.1 Remember…............................................................................................................................................27
6.1.2 Clear display (254 88)….........................................................................................................................27
6.1.3 Set contrast (254 80 [contrast])…........................................................................................................27
6.1.4 Set contrast and save (254 145 [contrast])….....................................................................................28
6.1.5 Backlight on (254 66 [minutes]) (R)…..................................................................................................28
6.1.6 Backlight off (254 70) (R).......................................................................................................................28
6.1.7 Load startup screen (254 64 [32 characters])......................................................................................28
6.1.8 Set backlight brightness (254 153 [brightness]) ................................................................................28
6.1.9 Set backlight brightness and save (254 154 [brightness]) ...............................................................28
6.1.10 General purpose output off (254 86 [gpo #])....................................................................................28
6.1.11 General purpose output on (254 87 [gpo #]) ....................................................................................28
6.1.12 Set I
2
C address 254 51 [address]).......................................................................................................28
6.1.13 Read module type (254 55)..................................................................................................................30
6.1.14 Set RS232 port speed (254 57 [speed])..............................................................................................30
6.1.15 Set Serial Number (254 52 [byte1] [byte2].........................................................................................30
6.1.16 Read Serial Number (254 53) ...............................................................................................................30
6.1.17 Read Version Number (254 54) ...........................................................................................................31
6.2 Flow Control......................................................................................................................................................31
6.2.1 Enter Flow Control Mode (254 58 [full][empty])………....................................................................31
6.2.2 Exit Flow Control Mode (254 59)..........................................................................................................31
6.2.3 GPO or Keypad Mode (254 37 [mode]) ...............................................................................................31
7. Appendix: Command Summary.................................................................................... 32
7.1 General..............................................................................................................................................................32
7.2 Issuing Commands..........................................................................................................................................32
7.3 On Numbers .....................................................................................................................................................32
7.3.1 ASCII Characters....................................................................................................................................33
7.4 Text Commands ...............................................................................................................................................33
7.5 Keypad Interface Commands ........................................................................................................................34