beautypg.com

Matrix Orbital LK202-25 Legacy User Manual

Page 13

background image

General Purpose Output Off
ASCII 'W', Hex 57, Decimal 87
Syntax 0xFE 0x57

To turn a general output purpose off, send a command prefix followed by the character 'W' and a hex number which
corresponds to the output which will be turned off.

Go To Position
ASCII 'G', Hex 47, Decimal 71
Syntax 0xFE 0x47

To set the current cursor position, send a command prefix followed by the character 'G' and two values defining the column
and row of the desired cursor position.

Go To Top Left
ASCII 'H', Hex 48, Decimal 72
Syntax 0xFE 0x48

This command resets the current cursor position to the top left of the LK screen. To execute this command send a com-
mand prefix followed by character 'H'.

Initialize Horizontal Bar Graph
ASCII 'h', Hex 68, Decimal 104
Syntax 0xFE 0x68

Before any horizontal bar graphs may be created, this command must be executed. It only needs to be sent once to initialize
the custom characters for bar graph creation. Due to the fact bar graphs use custom characters, no user custom characters
may be displayed or created while bar graphs are in use.

Make Horizontal Bar Graph
ASCII '|', Hex 7C, Decimal 124
Syntax 0xFE 0x7C

This command places a horizontal bar graph at the specified column and row with the specified width. The format of the
command is as follows:

0xFE

0x7C

0x01 to 0x14 for a twenty column display

0x01 to 0x02 for a two line display

0 for left to right, 1 for right to left

0x00 to 0x64 (0 to 100) for a twenty column display

Bar length is in pixel widths. On a twenty column display the maximum bar graph width is one hundred (if the bar graph
starts at the edge). This is due to the fact that each of the twenty columns on the display are five pixels wide. The width of
the space between columns is not taken into account.

Initialize Thick Vertical Bar Graph
ASCII 'v', Hex 76, Decimal 118
Syntax 0xFE 0x76

Before any thick vertical bar graphs may be created, this command must be executed. It only needs to be sent once to
initialize the custom characters required for bar graph creation. Bar graphs use custom characters, therefore no user
custom characters may be displayed or created while bar graphs are in use.

12