
migra Serial
Large Format, Graphics Compatible Display
Page 25
microSYST Systemelectronic GmbH, Am Gewerbepark 11, 92670 Windischeschenbach
+49 9681 91960-0,
+49 9681 91960-10, [email protected], www.microsyst.de
3.7.3.4 Drawing a Rectangle
Byte 1
Byte 2
Byte 3
Byte 4
ESC
Function
Foreground colour (perimeter)
Background colour (filling)
1B
h
“R”
“0”: black
“1”: green
“2”: red
“3”: yellow
“0”: black
“1”: green
“2”: red
“3”: yellow
“T”: transparent
Upper Left-Hand Corner Position:
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
Byte 10
x position
hundreds
x position
tens
x position
ones
y position
hundreds
y position
tens
y position
ones
“0” – “9”
“0” – “9”
“0” – “9”
“0” – “9”
“0” – “9”
“0” – “9”
Lower Right-Hand Corner Position:
Byte 11
Byte 12
Byte 13
Byte 14
Byte 15
Byte 16
x position
hundreds
x position
tens
x position
ones
y position
hundreds
y position
tens
y position
ones
“0” – “9”
“0” – “9”
“0” – “9”
“0” – “9”
“0” – “9”
“0” – “9”
The perimeter of the rectangle is drawn with the foreground colour.
The rectangle is filled with the background colour.