7miscellaneous commands – Matrix Orbital LK204-25 Legacy User Manual

Page 29

Advertising
background image

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

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.

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.

Read Version
Number

FE 36
254 54
254 '6'

Reads the firmware version number of the
module. Returns a 1-byte hex value.

LK204-25 rev 1

29

Advertising