beautypg.com

4 drawing – Matrix Orbital GTT70A User Manual

Page 17

background image

13

Command Summary

2.4 Drawing

4.1 Set Background
Drawing Colour

Dec
Hex
ASCII

254 86

FE 56

þ V

R G B
R G B
R G B

2.0

Set the display colour when the Clear Screen command is sent. The default colour on startup is black.

R

Byte

Intensity of red, 0 to 255, limited to display metrics.

G

Byte

Intensity of green, 0 to 255, limited to display metrics.

B

Byte

Intensity of blue, 0 to 255, limited to display metrics.

4.2 Get Background
Drawing Colour

Dec
Hex
ASCII

254 87

FE 57

þ W



2.0

Read the background colour that is currently being used by all drawing commands.

Return Message

252 87 Length

R G B

R

Byte

Intensity of red, 0 to 255, limited to display metrics.

G

Byte

Intensity of green, 0 to 255, limited to display metrics.

B

Byte

Intensity of blue, 0 to 255, limited to display metrics.

4.3 Clear Screen

Dec
Hex
ASCII

254 88

FE 58

þ X



2.0

Clear the screen, and reset the coordinates for both continued line and font insertion commands to zero.

4.4 Scroll Screen

Dec
Hex
ASCII

254 89

FE 59

þ Y

X Y Width Height MoveX MoveY
X Y Width Height MoveX MoveY
X Y Width Height MoveX MoveY

2.0

Scroll the contents of a specified portion of the screen.

X

Signed Short

Leftmost coordinate of the scroll window.

Y

Signed Short

Topmost coordinate of the scroll window.

Width

Signed Short

Width of the scroll window.

Height

Signed Short

Height of the scroll window.

MoveX

Signed Short

Number of pixels to scroll horizontally.

MoveY

Signed Short

Number of pixels to scroll vertically.

This manual is related to the following products: