User Manual

Command Summary 21
2.6 Set Text
Window
Dec
Hex
ASCII
254 42
FE 2A
*
ID
ID
ID
v8.3
Sets the text window to which subsequent text and commands will apply. Default (entire screen) is window 0.
ID
Byte
Unique text window to use.
2.7 Clear Text
Window
Dec
Hex
ASCII
254 44
FE 2C
,
ID
ID
ID
v8.3
Clear the contents of a specific text window, similar to the clear screen command.
ID
Byte
Unique text window to clear.
2.8 Initialize
Label
Dec
Hex
ASCII
254 45
FE 2D
-
ID X1 Y1 X2 Y2 Vert Hor Font Background CharSpace
ID X1 Y1 X2 Y2 Vert Hor Font Background CharSpace
ID X1 Y1 X2 Y2 Vert Hor Font Background CharSpace
v8.3
Designates a portion of the screen that can be easily updated with one line of text, often used to display variables.
ID
Byte
Unique label identification number, value between 0 and 15.
X1
Byte
Leftmost coordinate.
Y1
Byte
Topmost coordinate.
X2
Byte
Rightmost coordinate.
Y2
Byte
Bottommost coordinate.
Vert
Byte
Vertical justification of the label text; 0 for top, 1 for middle, or 2 for bottom.
Hor
Byte
Horizontal justification of the label text; 0 for left, 1 for centre, or 2 for right.
Font*
Short
Unique font ID to use for this label, value between 0 and 1023.
Background
Byte
State of the pixels in the label region that is not occupied by text; 0 for off or 1 for on.
CharSpace
Byte
Spacing between characters to use for this label.
*Note: Font was changed from a Byte length at firmware revision 8.5
2.9 Update
Label
Dec
Hex
ASCII
254 46
FE 2E
.
ID Data
ID Data
ID Data
v8.3
Update a previously created label with new text. Send a null character (empty string) to clear a label.
ID
Byte
Unique label to update, between 0 and 15.
Data
String
Information to display in the label, must be terminated with a null (value of zero) byte.
2.10 Auto Scroll
On
Dec
Hex
ASCII
254 81
FE 51
Q
v8.0
The entire contents of screen are shifted up one line when the end of the screen is reached. Display default is on.
2.11 Auto Scroll
Off
Dec
Hex
ASCII
254 82
FE 52
R
v8.0
New text is written over the top line when the end of the screen is reached. Display default is Auto Scroll on.