beautypg.com

8 set cursor position, 9 go home – Matrix Orbital PK162-12 User Manual

Page 25

background image

Description

Disabling Auto Line Wrap will allow you to have full control over the
cursor position. This means that once the cursor has advanced to the
end of a line, it will not wrap over to the next line, unless given the ’Set
Cursor Position’ Command.

NOTE All characters written to the display past the end of a line will be lost.

Remembered

Yes

5.8 Set 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 will allow you to manually set the cursor position, which
controls the text insertion point, by specifying the [col] and [row] of the
new proposed cursor position.

NOTE If the cursor position is set past the end of a line it will wrap to the beginning of
the next line.

Remembered

No

5.9 Go Home

Syntax

Hexadecimal

0xFE 0x48

Decimal

254 72

ASCII

254 “H”

Description

This command will return the cursor to the top left corner of the display
area, identified as row one, column one.

Matrix Orbital

PK162-12

21