Description 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 is 0 and black is 1-255.
Remembered No
8.3 Draw Pixel
Syntax
Hexadecimal 0xFE 0x70 [x] [y]
Decimal 254 112 [x] [y]
ASCII 254 “p” [x] [y]
Parameters
Parameter Length Description
x 1 X screen location.
y 1 Y screen location.
Description This command will draw a pixel at (x,y) using the
current drawing
color. The unit processes these requests fast enough to keep
up with a
steady stream at 115 Kbps so ?ow control is not required.
Remembered No
8.4 Drawing a Line
Syntax
Hexadecimal 0xFE 0x6C [x1] [y1] [x2] [y2]
Decimal 254 108 [x1] [y1] [x2] [y2]
ASCII 254 “l” [x1] [y1] [x2] [y2]
Parameters
Parameter Length Description
x1 1 Left bounds.
y1 1 Top Bounds.
x2 1 Right Bounds.
y2 1 Bottom Bounds.
Description This command will draw a line from (x1,y1) to (x2,y2) using the current
drawing color. Lines may be drawn from any part of the display
to any
other part. However, it may be important to note that the line
may
interpolate differently right to left, or left to right. This means that a line
drawn in white from right to left may not fully erase the same line
drawn in black from left to right.
Remembered No
8.5 Continue a Line
Matrix Orbital GLK12232-25-SM
29