Miscellaneous commands, 1 command list – Matrix Orbital LK162-12 Legacy User Manual
Page 22

LK162-12 rev 4
22
6. Miscellaneous Commands
The commands listed in this chapter don't readily fit in any of the other categories, or are used in more than
one category. Before issuing commands to the LK162-12 please read sections 7.2 and 7.3.
Some commands, marked with an (R), may be "remembered" to set new defaults that will be in effect each
time the unit is powered on. See section 6.1.1 for further information.
6.1 Command List
6.1.1 Clear display (254 88)
This command clears the display and resets the text insertion point to the top left of the screen.
6.1.2 Set contrast (254 80 [contrast])
This command sets the display's contrast to [contrast], where [contrast] is a value between 0x00 and 0xFF
(between 0 and 255). Lower values cause "on" elements in the display area to appear lighter, while higher
values cause "on" elements to appear darker.
Lighting conditions will affect the actual value used for optimal viewing. Individual LK162-12 modules will
also differ slightly from each other in appearance. In addition, values for optimal viewing while the LK162-
12 backlight is on may differ from values used when backlight is off.
6.1.3 Set contrast and save (254 145 [contrast])
This command works in exactly the same way as the “Set Contrast” command. The only difference is that it
saves the contrast value in the non-volatile memory of the module, whereas the previous command only
changes the value until the next power down.
6.1.4 Backlight on (254 66 [minutes])
This command turns on the backlight for a time of [minutes] minutes. If [minutes] is zero (0), the backlight
will remain on indefinitely. Note: the factory default for backlight is on.
6.1.5 Backlight off (254 70)
This command turns the backlight of the LK162-12 off.
6.1.6 Load startup screen (254 64 [32 characters])
This command sets and memorizes the startup screen that will appear each time the LK162-12 is turned on.
By default the screen shows:
Matrix Orbital
LK162-12
The 40 characters define the two 20 character rows of the screen. They may be any characters from the
character set shown in Figure 3-1.
Character 1 ---------------------------- Character 16
Character 21 --------------------------- Character 32