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

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.12 Draw Line
Syntax :
cmd :
x1 : horizontal position of line start. 0
y1 : vertical position of line start. 0
x2 : horizontal position of line end. 0
y2 : vertical position of line end. 0
colour
Description :
point (x2, y2) on the screen.
Example :
Draws a white line from (x1=0, y1=0) to (x2=127, y2=127).
(msb:lsb)
4C
cmd, x1, y1
4C
hex
hex
This command will draw a coloured line from point (x1, y1) to
, L
: 2 byte line colour value
(L)
, 00
ascii
hex
,
x2, y2
www.4dsystems.com.au
, 00
hex
,
colour
, 7F
dec
dec
hex
dec
(msb:lsb)
dec
to 127
to 127
, 7F
to 159
to 159
hex
dec
dec
, FF
dec
dec
(00
(00
hex
(00
(00
hex
hex
, FF
hex
hex
to 7F
to 7F
hex
to 9F
to 9F
hex
hex
hex
hex
).
).
).
).
21

Related parts for 6D302