beautypg.com

7 miscellaneous commands – Matrix Orbital LK162-12 Legacy User Manual

Page 37

background image

LK162-12 rev 4

37

7.7 Miscellaneous Commands

Note: The letter "R" in the Default column indicates that this state can be saved to nonvolatile memory with
the Remember command.

Table 7-4 Miscellaneous Commands

Command

Syntax

Default

Notes

Remember

FE 93 [0|1]
254 147

off

Turns the "remember" function on [1] or off [0].

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
R

Backlight will stay on for [minutes]. If [minutes]
= 0 backlight will stay on permanently.

Backlight off

FE 46
254 70
254 'F'

on
R

Turns off backlight.

Set Brightness

FE 99 [brightness]
254 153
[brightness]

0xFF
255

Sets display brightness. Brightness is a value
between 0 and 255 (hex 0 to FF). Larger =
brighter.

Set Brightness and
save

FE 98 [brightness]
254 152
[brightnes s]

0xFF
255

Same as "set brightness " but saves
[brightness] into memory.

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 7. 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 7. 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.