Command Summary
33
Table 30: 9-slice file format
Width
One byte representing the width of the entire bitmap.
Height
One byte representing the height of the entire bitmap.
Top
One byte specifying the height of the top row section of the 9-slice.
Bottom
One byte specifying the height of the bottom row section of the 9-slice.
Left
One byte specifying the width of the left column section of the 9-slice.
Right
One byte specifying the width of the right column section of the 9-slice.
Bitmap Data
Data outlining the entire bitmap, as per the Bitmap File Creation example.
6.6
Animations
6.1
Upload an
Animation File
Dec
Hex
ASCII
254 92 4
FE 5C 04
■
\
EOT
File ID Size Data
File ID Size Data
File ID Size Data
v8.3
Upload an animation file to a graphic display. To create an animation see the
Animation File Creation section, for upload protocol see the File Transfer Protocol or XModem Upload Protocol
entries. Up to 16 animations can be displayed on the screen at one time, using the Display Animation command,
but up to 1024 can be stored in memory for later use. Please note the total graphic memory size is 256KB.
File ID
Short
Unique animation file identification number, value between 0 and 1023.
Size
Integer
Size of the animation file.
Data
Byte(s)
Animation file data, see the
Animation File Creation example.
6.2
Display
Animation
Dec
Hex
ASCII
254 193
FE C1
■
┴
ID File ID
*
X Y
ID File ID
*
X Y
ID File ID
*
X Y
v8.3
Load the first frame of the specified animation in its stopped state at the specified location. If an animation is
already in use at that index it will be overwritten. Use the start animation command to play the displayed file.
ID
Byte
Unique animation identification number, value between 0 and 15.
File ID
Short
Unique animation file identification number, value between 0 and 1023.
X
Byte
Leftmost coordinate of animation.
Y
Byte
Topmost coordinate of animation.
*Note:
File ID word length variable was removed from this command at v8.4, and reintroduced in v8.5.
6.3
Delete
Animation
Dec
Hex
ASCII
254 199
FE C7
■
╟
ID
ID
ID
v8.3
Stop and delete the displayed animation specified.
ID
Byte
Animation number to delete, value between 0 and 15.
6.4
Start/Stop
Animation
Dec
Hex
ASCII
254 194
FE C2
■
┬
ID Start
ID Start
ID Start
v8.3
Start or stop an animation that has been displayed.
ID
Byte
Animation number to start/stop, , value between 0 and 15.
Start
Byte
Any non-zero value will start the specified animation, 0 will stop it.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from