beautypg.com

Matrix Orbital GLK12232-25-WBL User Manual

Page 24

background image

The header consists of;

Placeholder for actual EOF (2 bytes, use 0xFF 0xFF - these bytes will be set to their final value by the

module)

Nominal character width (1 byte)
Absolute font height (1 byte)
ASCII value of first character defined in this file (1 byte)
ASCII value of last character defined in this file (1 byte)

The character list consists of groups of 3 bytes per character;

Offset to character bitmap (2 bytes)
Actual width of this character (1 byte)

6.4.1

Font File in Table Form

The table below shows the layout of a font file in table form.

Table 5: File Format

0xFF

0xFF

X size

Y size

Start

End

O-High

O-Low

Width

O-High

O-Low

Width

O-High

O-Low

Width

O-High

O-Low

Width

O-High

O-Low

Width

O-High

O-Low

Width

O-High

O-Low

Width

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

6.4.2

Uploading the File to the Module

The “Upload font” command is used to actually upload the font file. Recall that the syntax for this

command is;

0xFE 0x24 [ref] [file size] [file data]
In this example the file size is 94 bytes (0x5E) and the reference number is 2. The communications

exchange between the host and the module looks like this;

Matrix Orbital

GLK12232-25-WBL

20