displays

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: BSD-3-Clause Imports: 9 Imported by: 7

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Param added in v1.2.0

type Param struct {
	MaxReadClk  int
	MaxWriteClk int
	New         func(dci tftdrv.DCI) *pix.Display
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL