st7789v icon indicating copy to clipboard operation
st7789v copied to clipboard

OrangePi Zero 2 Support?

Open YCF opened this issue 3 years ago • 1 comments

https://github.com/rm-hull/OPi.GPIO

YCF avatar Feb 08 '23 00:02 YCF

Have you tried writing a custom interface for it? Shouldn't be too hard if OPi is a drop-in replacement, have a look at st7789v/interface/raspberry.py and see if you can copy parts of it

Ideally you would be able to write:

with OrangePi(pin_cs=..., ...) as orange:
    display = Display(orange)
    display.initialize(...)

Zeroji avatar Feb 12 '23 17:02 Zeroji