beautypg.com

6 miscellaneous commands – Matrix Orbital LCD/VFD Legacy User Manual

Page 27

background image

Command

Syntax

Notes

Draw vertical bar graph

FE 3D [col][length]

254 61 [col][length]

254 ’=’ [col][length]

Draws a vertical bar graph at column

[col] of length [length]. Length is

measured in pixels (0x00 to 0x14).

User must first use the ’v’ or ’s’

command to initialize characters.

Draw horizontal bar graph

FE 7C [c][r][d][length]

254 124 [c][r][d][length]

254 ’|’ [c][r][d][length]

Draws a horizontal bar graph start-

ing at column [c] on row [r] with di-

rection [d] (0 is right, 1 is left) of

length [length]. Length is measured

in pixels (0x00 to 0x64 if starting in

column 1). User must first use the

’h’ command to initialize characters.

Initialize large digits

FE 6E

254 110

254 ’n’

Initializes the user character set to

make large digits.

Place large digits

FE 23 [col] [digit]

254 35 [col] [digit]

254 ’#’ [col] [digit]

Place large digit number [digit] in

column [col] of the display. Cursor

moves to bottom right of large digit.

[digit] is 0x00 to 0x09, [col] is 0x01

to 0x12 (i.e. 1 to 18 decimal).

6.6 Miscellaneous Commands

Table 18: 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’ [con-

trast]

0x80 128

Sets display con-

trast.

Compen-

sates for viewing

angle.

Contrast

is a value between

0 and 255 (hex 0

to FF). Larger =

darker.

Matrix Orbital

LCD4041

24