4 drawing a bitmap directly – Matrix Orbital GLK19264-7T-1U User Manual
Page 32
Description
The GLK19264-7T-1U is capable of storing 128 font and bitmap files
up to 16 Kbytes total. In order to upload a bitmap to the
GLK19264-7T-1U 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 GLK19264-7T-1U
see Section 12 on page 44.
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 12.5 on page 49 for more
detailed information.
Remembered
No
7.4
Drawing a Bitmap Directly
Syntax
Hexadecimal
0xFE 0x64 [X] [Y] [W] [H] [D]
Decimal
254 100 [X] [Y] [W] [H] [D]
ASCII
254 “d” [X] [Y] [W] [H] [D]
Matrix Orbital
GLK19264-7T-1U
27