beautypg.com

Matrix Orbital LK202-24-USB User Manual

Page 32

background image

7.1.1 Remember (254 147 [0|1])

This command allows a number of settings, such as cursor state, backlight, etc., to automatically be

stored in non-volatile memory, so they become new defaults. The command should only be used when
required for two reasons;

1. Writing to non-volatile memory is time consuming and slows down the operation of the display.

2. Non-volatile memory has a ’write limit’, and may only be changed approximately 100,00 times.

Commands which may be used with the remember function are marked with an “R” in the default column
in the command tables.

The example shows the procedure to set “Auto scroll on” as the default condition. Commands are shown

in both decimal and hex in the example below;

Table 19: Command Example

Decimal

Hex

Function

254 147 1

FE 93 01

Turn on “Remember” function

254 81

FE 51

Turn on auto scroll. Since “Remem-
ber” is ON, this setting will be saved
in non-volatile memory

254 147 0

FE 93 00

Turn off “Remember” function

Any number of commands may be entered between the “Remember ON”, and “Remember OFF” com-

mands, and all settings will be memorized.

7.1.2 Clear display (254 88)

This command clears the display and resets the text insertion point to the top left of the screen.

7.1.3 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 display modules will also differ slightly from each other in appearance. In
addition, values for optimal viewing while the display backlight is on may differ from values used when the
backlight is off.

Matrix Orbital

LK202-24-USB

28