beautypg.com

2 graphics commands – Matrix Orbital GLC24064 User Manual

Page 21

background image

In-line bitmaps 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 opposite
to the serial transmission sequence (bytes are sent LSB first).

Figure 19: 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.

4.2 Graphics Commands

In this section commands are identified by their names and decimal values. Hex and ASCII equivalents

are given in the summary.

The coordinate origin (0,0) is at the top left corner of the display. X values go from 0 to 239 (increasing

toward the right) and Y values go from 0 to 63 (increasing toward the bottom).

4.2.1 Set Drawing Color (254 99 [color])

This command sets the drawing color for subsequent graphic commands that do not have the drawing

color passed as a parameter. The parameter [color] is the value of the color where white 0 Hex, and black is
255 Hex.

NOTE All non-zero values will display as black.

Matrix Orbital

GLC24064

17