beautypg.com

4 displaying graphics, 1 general – Matrix Orbital GLK24064-25 Legacy User Manual

Page 19

background image

4 Displaying Graphics

This chapter describes the various graphics display commands in detail. Uploading a bitmap to position

1 will result in it being displayed on power up.

4.1 General

Since the display is a bit mapped device, it may be used to display graphics. Graphic images may be

created by means of a pixel oriented graphics program, saved as bitmaps, and loaded into the display using

the mogd.exe program. Images may be saved in the display’s memory, and displayed upon command or they

may be downloaded ’on the fly’ (inline) during display operation.

Please note that ’saved’ and ’on the fly’ graphics images are processed differently. These differences

must be taken into account when processing graphics.

1.

Saved bitmaps: These use each byte (8 bits) to represent a vertical column of 8 pixels. The next byte

represents the next column to the right. If the graphic is ’taller’ than 8 pixels, the LSB of the next data

byte will be the next pixel. Orientation is top to bottom - LSB to MSB. Pixels / bits are ’packed’ - that

is, if the height of the graphic is not an even multiple of 8, the leftover bits go on the next X column

to the right, etc.

2.

Inline bitmaps: These are processed horizontally, and each byte represents a horizontal row of 8 bits,

with the next byte representing the next 8 bits to the right. Orientation is left to right - MSB to LSB,

which is the opposite to the serial transmission sequence (bytes are sent LSB first).

Figure 17: Graphic Bitmaps

Each pixel in a bitmap is described by a single bit, and may only have the values ON or OFF. For

example, shades of grey are not supported.

Matrix Orbital

GLK24064-25

15