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

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
(b)
2.2.3
Text button
Syntax :
cmd, state, x
y, buttonColour
font, textColour
,
,
(msb:lsb),
(msb:lsb)
textWidth, textHeight, char1, .., charN, terminator
cmd : 62
, b
hex
ascii
state : Specifies whether the displayed button is drawn as UP (not pressed) or
DOWN (pressed). 0 = Button Down (pressed)
1 = Button Up (not pressed)
x : top left horizontal start position of the button
y : top left vertical start position of the button
buttonColour
: 2 byte button colour value
(msb:lsb)
font : 0 = 5x7 font, 1 = 8x8 font, 2 = 8x12 font. This has precedence and does
not affect the Font command.
textColour
: 2 byte text colour value
(msb:lsb)
textWidth : horizontal size of the character, effects the width of the button.
textHeight : vertical size of the character, effects the height of the button.
char1..charN : string of ASCII characters (limit the string to line width)
terminator : the string must be terminated with 00
hex
Description :
This command will place a Text button similar to the ones used
in a PC Windows environment. (x, y) refers to the top left corner of the button
and the size of the button is automatically calculated and drawn on the screen
with the text relatively justified inside the button box. The button can be
displayed in an UP (button not pressed) or DOWN (button pressed) position by
specifying the appropriate value in the state byte. Separate button and text
colours provide many variations in appearance and format.
www.4dsystems.com.au
12

Related parts for 6D302