beautypg.com

3 setting the cursor position, 4 setting the cursor coordinate, 5 auto scroll on – Matrix Orbital GLK12232-25-SM User Manual

Page 30

background image

Description

This command moves the text insertion point to the top left of the
display area (Row 1, Column 1).

Remembered

No

6.3

Setting the Cursor Position

Syntax

Hexadecimal

0xFE 0x47 [col] [row]

Decimal

254 71 [col] [row]

ASCII

254 “G” [col] [row]

Parameters

Parameter

Length

Description

col

1

Column

row

1

Row

Description

This command sets the text insertion point to the [col] and [row]
specified. The insertion point is positioned using the base size of the
current font (this command does not position the insertion point at a
specific pixel). The column used is determined by multiplying the width
of the widest character in the font by the [column]. The row used is
determined by multiplying the height of the font by [row + Metrics: line
spacing].

Remembered

No

6.4

Setting the Cursor Coordinate

Syntax

Hexadecimal

0xFE 0x79 [x] [y]

Decimal

254 121 [x] [y]

ASCII

254 “y” [x] [y]

Parameters

Parameter

Length

Description

x

1

The horizontal position in pixels.

y

1

The vertical position in pixels.

Description

This command positions the insertion point at a specific pixel (X,Y),
which references the top left corner of the font insertion point.

Remembered

No

6.5

Auto Scroll On

Syntax

Hexadecimal

0xFE 0x51

Decimal

254 81

ASCII

254 “Q”

Matrix Orbital

GLK12232-25-SM

25