2 text – Matrix Orbital GLK240128-25 User Manual
Page 25
20
Command Summary
6.2 Text
2.1 Clear
Screen
Dec
Hex
ASCII
254 88
FE 58
■ X
v8.0
Clears the contents of the screen.
2.2 Go
Home
Dec
Hex
ASCII
254 72
FE 48
■ H
v8.0
Returns the cursor to the top left of the screen.
2.3 Set Cursor
Position
Dec
Hex
ASCII
254 71
FE 47
■ G
Column Row
Column Row
Column Row
v8.0
Sets the cursor to a specific cursor position where the next transmitted character is printed.
Column
Byte
Value between 1 and number of character columns.
Row
Byte
Value between 1 and number of character rows.
2.4 Set Cursor
Coordinate
Dec
Hex
ASCII
254 121
FE 79
■ y
X Y
X Y
X Y
v8.0
Sets the cursor to an exact pixel position where the next transmitted character is printed.
X
Byte
Value between 1 and screen width, represents leftmost character position.
Y
Byte
Value between 1 and screen height, represents topmost character position.
2.5 Initialize
Text Window
Dec
Hex
ASCII
254 43
FE 2B
■ +
ID X1 Y1 X2 Y2 Font CharSpace LineSpace Scroll
ID X1 Y1 X2 Y2 Font CharSpace LineSpace Scroll
ID X1 Y1 X2 Y2 Font CharSpace LineSpace Scroll
v8.3
Designates a portion of the screen to which text can be confined. Font commands affect only the current window,
default (entire screen) is window 0.
ID
Byte
Unique text window identification number, value between 0 and 15.
X1
Byte
Leftmost coordinate.
Y1
Byte
Topmost coordinate.
X2
Byte
Rightmost coordinate.
Y2
Byte
Bottommost coordinate.
Font
*
Short
Unique font ID to use for this window, value between 0 and 1023.
CharSpace
Byte
Spacing between characters to use for this window.
LineSpace
Byte
Spacing between lines to use for this window.
Scroll
Byte
Number of pixel rows to write to before scrolling text.
*Note:
Font was changed from a Byte length at firmware revision 8.5