beautypg.com

7 miscellaneous commands – Matrix Orbital PK162-12 User Manual

Page 37

background image

Command

Syntax

Notes

Initialize medium Digits

FE 6D

254 109

254 ’m’

Initializes the user character set to

make medium digits.

Initialize horizontal bar

graph

FE 68

254 104

254 ’h’

Initializes the user character set to

make horizontal bar graphs.

Define custom character

FE 4E [c][8 bytes]

254 78 [c][8 bytes]

254 ’N’ [c][8 bytes]

Defines one of 8 custom "user" char-

acters. Character number is [c] be-

tween 0x00 and 0x07.

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.

Draw medium digits

FE

6F

[row][column][digit]

254

111

[row][column][digit]

254

’o’

[row][column][digit]

Draws a medium digit in [row] and

[column] using the specified [digit].

Medium digits occupy two rows.

When the [row] is specified to be

“1”, the medium digit will be dis-

played correctly. When the [row]

is specified to be “2”, only the top

part of the medium digit will be dis-

played. When [row] is specified to

be “0”, only the bottom part of the

medium digit will be displayed.

Table: Bar Graphs and Special Characters

7.7 Miscellaneous Commands

Table 22: Miscellaneous Commands

Command

Syntax

Default

Notes

Matrix Orbital

PK162-12

33