peterhinch / micropython-micro-gui

A lightweight MicroPython GUI library for display drivers based on framebuf, allows input via pushbuttons. See also micropython-touch.
MIT License
269 stars 40 forks source link

Add Adafruit 1.9" 320x170 Color IPS TFT Display as ADAFRUIT_1_9 displ… #48

Closed Troyhy closed 3 months ago

Troyhy commented 3 months ago

I tested successfully Adafruit 1.9" 320x170 Color IPS TFT and added a new display type for it.


# snipped from hardware_setup.py
ssd = SSD(
    spi,
    cs=pcs,
    dc=pdc,
    rst=prst,
    height=170,
    width=320,
    display=ADAFRUIT_1_9
)```
Troyhy commented 3 months ago

image

peterhinch commented 3 months ago

Thank you. Also copied to nano-gui and micropython-touch.

Troyhy commented 3 months ago

ok, you are welcome! I am learning micropython and your gui library is a great inspiration to dig deeper.