7 miscellaneous commands – Matrix Orbital LK162-12 Legacy User Manual
Page 30
LK162-12 rev 4
30
7.7 Miscellaneous Commands
Table 7-4 Miscellaneous Commands
Command Syntax
Default
Notes
Clear display
FE 58
254 88
254 'X'
n/a
Clears screen of text and graphics, places text
cursor at top left.
Set contrast
FE 50 [contrast]
254 80 [contrast]
254 'P' [contrast]
0x80
128
Sets display contrast. Compensates for
viewing angle. Contrast is a value between 0
and 255 (hex 0 to FF). Larger = darker.
Set contrast and save FE 91 [contrast]
254 145 [contrast]
0x80
128
Same as "set contrast" but saves [contrast] as
default.
Backlight on
FE 42 [minutes]
254 66 [minutes]
254 'B' [minutes]
on
Backlight will stay on for [minutes]. If [minutes]
= 0 backlight will stay on permanently.
Backlight off
FE 46
254 70
254 'F'
on
Turns off backlight.
Load startup screen
FE 40 [32 char]
254 64 [32 char]
254 '@' [32 char]
Matrix Orbital
LK162-12
Loads new startup screen (32 characters).
Screen is remembered for subsequent power
ups.
GPO or Keypad
Interface Mode
FE 25 [mode]
254 37 [mode]
254 % [mode]
0
To select either GPO or Keypad mode.
0 = Keypad Interface Mode
1 = GPO mode
General purpose
output off
FE 56 [gpo #]
254 86 [gpo #]
254 'V' [gpo #]
off
Turns a general purpose output OFF. [gpo #]
may be from 1 to 6. See section 2.2 for further
details.
General purpose
output on
FE 57 [gpo #]
254 87 [gpo #]
254 'W' [gpo #]
off
Turns a general purpose output ON. [gpo #]
may be from 1 to 6. See section 2.2 for further
details.
Set I
2
C address
FE 33 [address]
254 51 [address]
254 '3' [address]
0x50
Value is write address and must be even, read
address is 1 higher.
Read module type
FE 37
254 55
254 '7'
see table
Reads the module type. See table in section
6.1.10.
Set RS232 port
speed
FE 39 [speed]
254 57 [speed]
254 '9' [speed]
19,200 baud
Sets RS232 speed. See table in section
6.1.11 for values of [speed]