- 
                Notifications
    
You must be signed in to change notification settings  - Fork 47
 
Description
I tried to use the micro-gui on a WaveShare Pico-LCD-1.3 with ST7789VW. In the setup_examples there is a nearby module just a little smaller (1.14"). So I took st7789_pico_lcd_114_rgb565.py as hardware_setup.py but failed. There is no pico.py in drivers/st7789 and there is no class LCD_1inch14.
So I tried st7789_pico_lcd_114.py which is using drivers.st7789.st7789_4bit. Just adapted the size (in line 27). But running the aclock.py demo, I get a tiny little clock with upper half at the lower edge and vice versa. Some areas do look like random data and the rest keeps black.
Looking in st7789_4bit.py there is a display type WAVESHARE_13 = (0, 0, 16) that is commented as being for the Waveshare 1.3" 240x240 LCD. So I changed the display type in my hardware_setup.py derived from st7789_pico_lcd_114.py to display=WAVESHARE_13. But now with this I do get the message WARNING: unsupported display parameter value. because in st7789_4bit.py only GENERIC, TDISPLAY, PI_PICO_LCD_2 are accepted.
Would it be possible to provide a working setup_examples/st7789_pico_lcd_13_rgb565.py, or give me some hints about missing external parts? Thank you.
PS: class LCD_1inch14 seems to be from waveshare/Pico_code/Python/Pico-LCD-1.14/Pico-LCD-1.14.py.