beautypg.com

Matrix Orbital GLT240128 Legacy User Manual

Page 34

background image

Parameters

Parameter

Length

Description

refID

1

A unique bitmap identification
number.

size

2

Bitmap file size (LSB to MSB).

data

x

Bitmap data.

Description

The GLT24064 is capable of storing 128 font and bitmap files up to 16
Kbytes total. In order to upload a bitmap to the GLT24064 you must
first initiate the upload font file command (0xFE 0x5E), you must then
pass it a reference identification number, which must be unique for
every font on the display module. You may then pass the display
module the two byte file system size, which needs to be transfered LSB,
then MSB. This is almost always the entire 16kB, meaning the values
0x00 0x40 0x00 0x00 must be issued. The last part of uploading a
bitmap is transmitting the bitmap file data.
For detailed instructions on uploading a file to the GLT24064 see
Section 11 on page 43.

NOTE

This command is available but not not supported in I

2

C.

Remembered

Always

7.3

Drawing a Bitmap from Memory

Syntax

Hexadecimal

0xFE 0x62 [refID] [X] [Y]

Decimal

254 98 [refID] [X] [Y]

ASCII

254 “b” [refID] [X] [Y]

Parameters

Parameter

Length

Description

refID

1

The bitmap identification number.

X

1

Left bounds.

Y

1

Top bounds.

Description

This command will draw a bitmap that is located in the on board
memory. The bitmap is referenced by the bitmaps reference
identification number, which is established when the bitmap is uploaded
to the display module. The bitmap will be drawn beginning at the top
left, from the specified X,Y coordinates. A directory listing of the
contents of the entire filesystem may be obtained by using the “Get
Filesystem Directory” command, see Section 11.5 on page 48 for more
detailed information.

Remembered

No

Matrix Orbital

GLT240128

29