Documentation ¶
Overview ¶
Package displays contains initialization functions for the most popular displays.
If you do not found a function for your display here do not worry. If your display uses a display controller that had a driver in ../driver/tftdrv you can easily initialize your display this way:
drv := driver.New(dci) // or NewOver(dci) if your display supports reading drv.Init(driver.InitCommands) disp := pix.NewDisplay(drv)
which is basically what all functions in this package do internally.
Index ¶
- type Param
- func Adafruit_0i96_128x64_OLED_SSD1306() Param
- func Adafruit_1i54_240x240_IPS_ST7789() Param
- func Adafruit_1i5_128x128_OLED_SSD1351() Param
- func Adafruit_2i8_240x320_TFT_ILI9341() Param
- func ERTFTM_1i54_240x240_IPS_ST7789() Param
- func MSP4022_4i0_320x480_TFT_ILI9486() Param
- func Waveshare_1i5_128x128_OLED_SSD1351() Param
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Param ¶ added in v1.2.0
func Adafruit_0i96_128x64_OLED_SSD1306 ¶
func Adafruit_0i96_128x64_OLED_SSD1306() Param
Adafruit Monochrome 0.96" 128x64 OLED Graphic Display
func Adafruit_1i54_240x240_IPS_ST7789 ¶
func Adafruit_1i54_240x240_IPS_ST7789() Param
Adafruit 1.54" 240x240 Wide Angle TFT LCD Display with MicroSD - ST7789
func Adafruit_1i5_128x128_OLED_SSD1351 ¶
func Adafruit_1i5_128x128_OLED_SSD1351() Param
Adafruit OLED Breakout Board - 16-bit Color 1.5" - UG-2828GDEDF11/SSD1351
func Adafruit_2i8_240x320_TFT_ILI9341 ¶
func Adafruit_2i8_240x320_TFT_ILI9341() Param
Adafruit 2.8" TFT LCD with Touchscreen Breakout Board with MicroSD - ILI9341
func ERTFTM_1i54_240x240_IPS_ST7789 ¶
func ERTFTM_1i54_240x240_IPS_ST7789() Param
ER-TFTM1.54-1 IPS LCD Module - ST7789
func MSP4022_4i0_320x480_TFT_ILI9486 ¶
func MSP4022_4i0_320x480_TFT_ILI9486() Param
MSP4022 4.0" TFT LCD SPI Module - ILI9486
func Waveshare_1i5_128x128_OLED_SSD1351 ¶
func Waveshare_1i5_128x128_OLED_SSD1351() Param
Waveshare 128x128, General 1.5inch OLED display Module - UG-2828GDEDF11/SSD1351