Drivers: st7789_4bit add support for DFRobot 172x320

pull/56/head
peterhinch 2023-08-03 11:24:23 +01:00
rodzic 5eef93317e
commit aef423a536
2 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -504,6 +504,8 @@ Orientation (values for `disp_mode`):
Display types (values for `display`):
`GENERIC` For Adafruit displays.
`TDISPLAY` For the TTGO T-Display and Waveshare Pico LCD.
`PI_PICO_LCD_2` Waveshare Pico LCD 2 determined by Mike Wilson.
`DFR0995` DFR0995 Contributed by @EdgarKluge
### init_spi

Wyświetl plik

@ -32,6 +32,7 @@ PORTRAIT = 4
GENERIC = (0, 0, 0)
TDISPLAY = (52, 40, 1)
PI_PICO_LCD_2 = (0, 0, 1) # Waveshare Pico LCD 2 determined by Mike Wilson.
DFR0995 = (34, 0, 0) # DFR0995 Contributed by @EdgarKluge
@micropython.viper
def _lcopy(dest:ptr16, source:ptr8, lut:ptr16, length:int):