beautypg.com

7 set contrast, 8 set and save contrast – Matrix Orbital GLT240128 Legacy User Manual

Page 47

background image

10.7

Set Contrast

Syntax

Hexadecimal

0xFE 0x50 [contrast]

Decimal

254 80 [contrast]

ASCII

254 “P” [contrast]

Parameters

Parameter

Length

Description

contrast

1

Contrast value (0 to 255).

Description

This command sets the display’s contrast to [contrast], where [contrast]
is a value between 0x00 and 0xFF (between 0 to 255). Lower values
cause ‘on’ elements in the display area to appear lighter, while higher
values cause ‘on’ elements to appear darker. Lighting and temperature
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 backlight is off.
This command does not save the [contrast] value, and is lost after power
down; but this command has the option of remembering the settings
when issued with the Remember function ‘on’ . When this is the case,
this command is the same as the Set and Save Contrast command.

NOTE

This command has only 32 levels for X-Board based displays, meaning eight

contrast settings will have the same single effect. Efectively, values 0 through 7, 8 through
15, and so on will result in the same setting.

Remembered

Yes

Default

128

10.8

Set and Save Contrast

Syntax

Hexadecimal

0xFE 0x91 [contrast]

Decimal

254 145 [contrast]

Parameters

Parameter

Length

Description

contrast

1

Contrast value (0 to 255).

Matrix Orbital

GLT240128

42