6D302 4D SYSTEMS, 6D302 Datasheet - Page 26

OLED DISPLAY 160x128PIXELS 33.6mmx27mm

6D302

Manufacturer Part Number
6D302
Description
OLED DISPLAY 160x128PIXELS 33.6mmx27mm
Manufacturer
4D SYSTEMS
Datasheet

Specifications of 6D302

Screen Size
42.92mm
Resolution
160 X 128
Viewing Area (h X W)
33.6mm X 27mm
Interface Type
Serial, USB
Voltage Rating
5V
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
2.2.17 Draw rectangle
Syntax :
cmd : 72
x1 : top left horizontal start position of rectangle. 0 to 159 (00
y1 : top left vertical start position of rectangle . 0
x2 : bottom right horizontal end position. 0 to 159 (00
y2 : bottom right vertical end position. 0 to 127 (00
colour
Description :
screen. x1, y1 refers to the top left corner of the area and x2, y2 refers to the
bottom right hand corner of the rectangle on the screen. If colour is chosen to
be that of the background then the effect will be erasure. If Pen Size value was
previously set to 0 rectangle will be solid, otherwise wire frame if value was 1.
Example :
Draws a RED (001Fhex) rectangle that has its top left corner at x1=0, y1=0 and
its bottom right corner at x2=16, y2=16.
(msb:lsb)
hex
cmd, x1, y1
70
, r
hex
This command will draw a rectangle of specified area on the
ascii
: 2 byte rectangle colour value
, 00
hex
,
x2, y2
www.4dsystems.com.au
(r)
, 00
hex
,
colour
, 10
hex
(msb:lsb)
, 10
hex
, 00
dec
hex
hex
to 127 (00
, 1F
hex
to 7F
hex
to 9F
hex
hex
hex
hex
).
to 9F
).
to 7F
hex
hex
).
).
26

Related parts for 6D302