Documentation
¶
Index ¶
Constants ¶
View Source
const ( // D128x128 = 128 by 128 pixels D128x128 = iota // D128x160 = 128 by 160 pixels D128x160 // Typically an ST7735S device D160x128 // Typically an ST7735S device // D160x80 = 160 by 80 pixels D128x96 D160x80 D320x480 // 320w by 480h = portrait D480x320 // landscape D480x272 D800x480 )
View Source
const ( // Min450Hz is the minimum clock speed of the FTDI232 Min450Hz = 450 // Max30MHz is the maximum clock speed Max30MHz = 30000000 )
View Source
const ( RGBOrder = iota BGROrder )
View Source
const (
// DELAY is for embedding standard delays during commands.
DELAY = 0x80
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColorOrder ¶
type ColorOrder int
ColorOrder :some of the devices have the SRGB pin tied either high/true (BGR) or low/false (RGB) If your colors are incorrect pass a different byteOrder
type Dimensions ¶
type Dimensions int
Dimensions: The 7735 has several different width/height physical layouts: - 128x128 - 128x160 - 160x80
type RotationMode ¶
type RotationMode int
RotationMode controls raster drawing
const ( Orientation0 RotationMode = iota Orientation1 Orientation2 Orientation3 OrientationDefault )
Click to show internal directories.
Click to hide internal directories.