tempe_displays.st7789.spi#

Generic support for SPI-based ST7789 screens.

Classes#

ST7789_SPI

Generic support for SPI-based ST7789 screens.

Module Contents#

class ST7789_SPI(
spi,
cs_pin,
dc_pin,
size=(320, 240),
reset_pin=None,
)#

Bases: tempe_displays.st7789.base.ST7789

Generic support for SPI-based ST7789 screens.

spi: machine.SPI#
cs_pin: machine.Pin#
dc_pin: machine.Pin#
send(dc, buf)#

Send bytes to the device via SPI

send_iterator(dc, buf_iter)#

Send to the display.