33
6.12
Filesystem
12.1
Wipe
Filesystem
Dec
Hex
ASCII
254 33 89 33
FE 21 59 21
■
! Y !
Completely erase all fonts and bitmaps from a graphic display. Extended length of the command is intended to
prevent accidental execution. To ensure filesystem integrity, cycle power to the display after erasure.
12.2
Delete a File
Dec
Hex
254 173
FE AD
Type ID
Type ID
Removes a single font or bitmap file given the type and unique identification number. Cycle power after deletion.
Type
1 byte, 0 for font or 1 for bitmap
ID
2 bytes, unique identification number of font or bitmap to be deleted
12.3
Get Filesystem
Space
Dec
Hex
254 175
FE AF
Returns the amount of space remaining in the display for font or bitmap uploads.
Response
4 bytes, number of bytes remaining in memory, LSB to MSB
12.4
Get Filesystem
Directory
Dec
Hex
254 179
FE B3
Returns a directory to the contents of the filesystem. The total number and type of each entry will be provided.
Response
variable length, 2 bytes representing number of entries plus 8 identification bytes for each entry
Table 35: Filesystem Identification Bytes
Bit
3
2
1
0
Description
Size MSB Size LSB Type/ID Flag
Table 36: Extended Byte Descriptions
Size MSB
most significant byte of the file size
Size LSB
least significant byte of the file size
Type/ID
MSB designates file type, 0 for font or 1 for bitmap, remaining bits indicate ID number
Flag
a value of 0 indicates entry is not in use
12.5
Filesystem
Upload
Dec
Hex
254 176
FE B0
Size Data
Size Data
This command will upload a filesystem image to the display. The size used is almost always the entire 16kB
memory. Filesystem data can be uploaded LSB to MSB in the same manner as a font or bitmap file.
Size
4 bytes, size of the filesystem to upload, LSB to MSB
Data
variable length, data to upload