Command Summary
35
Table 31: Animation file format
Total Frames
One byte representing the total number of frames in the animation
Offsets
One entry for each frame, 4 bytes indicating the start of the bitmap file. Maximum 32 frames.
Times
Two bytes for each frame representing the length of time (100ms) for which it is displayed.
Header 1
Two bytes, one representing the width and one the height of the first bitmap.
Bitmap 1 Data
The first bitmap data, as per the Bitmap File Creation example.
…
…
Header 9
Two bytes, one representing the width and one the height of the last bitmap.
Bitmap 9 Data
The last bitmap data, as per the Bitmap File Creation example.
6.8
General Purpose Output
8.1
General Purpose
Output On
Dec
Hex
ASCII
254 87
FE 57
■
W
Number
Number
Number
v8.0
Turns the specified GPO on, sourcing current from an output of five volts.
Number
Byte
GPO to be turned on.
8.2
General Purpose
Output Off
Dec
Hex
ASCII
254 86
FE 56
■
V
Number
Number
Number
v8.0
Turns the specified GPO off, sinking current to an output of zero volts.
Number
Byte
GPO to be turned off.
8.3
Set Start Up
GPO State
Dec
Hex
ASCII
254 195
FE C3
■
├
Number State
Number State
Number State
v8.0
Sets and saves the start up state of the specified GPO in non volatile memory. Changes will be seen on start up.
Number
Byte
GPO to be controlled.
State
Byte
1 for on or 0 for off.
6.9
Piezo Buzzer
9.1
Activate Piezo
Buzzer*
Dec
Hex
ASCII
254 187
FE BB
■
╗
Frequency Time
Frequency Time
Frequency Time
v8.0
Activates a buzz of specific frequency from the onboard piezo buzzer for a specified length of time.
Frequency
Short
Frequency of buzz in hertz.
Time
Short
*
Duration of the beep in milliseconds.
*Note:
When a beep precedes a delay command, the duration of the beep must be shorter than that of the delay.
9.2
Set Default
Buzzer Beep
Dec
Hex
ASCII
254 188
FE BC
■
╝
Frequency Duration
Frequency Duration
Frequency Duration
v8.3
Set the frequency and duration of the default beep transmitted when the bell character is transmitted.
Frequency
Short
Frequency of the beep in Hertz, default 440Hz.
Duration
Short
Duration of the beep in milliseconds, default 100ms.