Command Summary
21
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
Get String
Extents
Dec
Hex
ASCII
254 41
FE 29
■
)
Text
Text
Text
v8.6
Read the size of the rectangle that the specified string would occupy if it was rendered with the current font.
Text
String
String on which to preform extents calculation. A single line of text is assumed.
Response
Byte(s)
Width and height of the string in pixels. A width greater than the screen will return 0.
2.6
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
2.7
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.8
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.