tempe_displays.st7789.waveshare#

Classes#

PicoResTouchDisplay

Waveshare Pico-ResTouch-LCD-2.8.

Module Contents#

class PicoResTouchDisplay(
spi: SPI | None = None,
cs_pin: int | Pin = 17,
dc_pin: int | Pin = 16,
backlight_pin: int | Pin = 20,
size: tuple[int, int] = (320, 240),
reset_pin: int | Pin | None = 15,
)#

Bases: tempe_displays.st7789.spi.ST7789_SPI

Waveshare Pico-ResTouch-LCD-2.8.

This should work for any other Waveshare devices with similar pinouts. See: orgs/micropython#16194

async init(rotation: Literal[0, 90, 180, 270] = 0) None#