beautypg.com

Filesystem, 9 filesystem – Matrix Orbital GLK24064-16-1U User Manual

Page 34

background image

29

8.7 Set and Save
Contrast

Dec
Hex

254 145

FE 91

Contrast
Contrast

Immediately sets and saves the contrast between background and text. Although contrast can be changed using
the set command, it is reset to this saved value on start up. Default is 128.

Contrast

1 byte, contrast level from 0(Light) to 255(Dark)

5.9 Filesystem

9.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.


9.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

1 byte, unique identification number of font or bitmap to be deleted


9.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 32KB memory, LSB to MSB


9.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, 1 byte representing number of entries followed by 4 identification bytes for each entry

Table 27: Filesystem Identification Bytes

Byte

3

2

1

0

Description

Size MSB Size LSB Type/ID Flag

Table 28: 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