User Manual

30 Command Summary
6.5 Bitmaps
5.1 Upload a
Bitmap File
Dec
Hex
ASCII
254 94
FE 5E
^
ID Size Data
ID Size Data
ID Size Data
v8.0
Upload a bitmap to a graphic display. To create a bitmap see the
Bitmap File Creation section, for upload protocol see the
File Transfer Protocol or XModem Transfer Protocol entries. Start screen is ID 1.
ID*
Short
Unique bitmap identification number, value between 0 and 1023.
Size*
Integer
Size of the entire bitmap file.
Data
Byte(s)
Bitmap file data, see the
Bitmap File Creation example.
*Note: ID and Size were changed from Byte and Short lengths respectively at firmware revision 8.1
5.2 Upload a
Bitmap Mask
Dec
Hex
ASCII
254 92 5
FE 5C 05
\ ENQ
ID Size Data
ID Size Data
ID Size Data
v8.3
Upload a bitmap mask that can clear areas of the screen before a bitmap is drawn. Programmatically,
(bitmap&mask) | (screen&~mask) is shown when a bitmap is drawn. To create a mask see the Bitmap File
Creation section, for upload protocol see the
File Transfer Protocol or XModem Transfer Protocol entries.
ID
Short
Unique bitmap mask identification number, value between 0 and 1023.
Size
Integer
Size of the entire mask file.
Data
Byte(s)
Bitmap mask file data, see the Bitmap File Creation example.
5.3 Draw a
Bitmap from
Memory
Dec
Hex
ASCII
254 98
FE 62
b
ID X Y
ID X Y
ID X Y
v8.0
Draw a previously uploaded bitmap from memory. Top left corner must be specified for drawing.
ID*
Short
Unique bitmap identification number, value between 0 and 1023.
X
Byte
Leftmost coordinate of bitmap.
Y
Byte
Topmost coordinate of bitmap.
*Note: ID and Size were changed from Byte and Short lengths respectively at firmware revision 8.1
5.4 Draw a
Partial Bitmap
Dec
Hex
ASCII
254 192
FE C0
ID X1 Y1 X2 Y2
ID X1 Y1 X2 Y2
ID X1 Y1 X2 Y2
v8.5
Draw a portion of a previously uploaded bitmap confined to the width and height specified.
ID
Short
Unique bitmap identification number, value between 0 and 1023.
X1
Byte
Leftmost coordinate of bitmap.
Y1
Byte
Topmost coordinate of bitmap.
X2
Byte
Rightmost coordinate of the partial bitmap.
Y2
Byte
Bottommost coordinate of the partial bitmap.