kopia lustrzana https://github.com/peterhinch/micropython-nano-gui
Drivers: st7789_4bit add support for DFRobot 172x320
rodzic
5eef93317e
commit
aef423a536
|
@ -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
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Ładowanie…
Reference in New Issue