crismc / rpi_i2c_oled

Python library to enable 128x32 pixel OLED for Raspberry Pi (both 32 and 64bit).
MIT License
16 stars 10 forks source link

[Feature]: Support more displays #16

Open georgegougoudis opened 5 months ago

georgegougoudis commented 5 months ago

Is your feature request related to a problem?

No

Describe the solution you'd like

I know that this brings in a big dependency, but maybe use a library like Luma.oled to support more displays? It also handles the hardware i2c, supports LCD's etc and effects like panning/zooming etc. Luma.core. There is also an SPI driver in the core library.

Describe alternatives you've considered

I've forked the repository and successfully implement another display driver in a very trivial manner. Example

Additional context

I've tested it by forking your repository Home Assistant Addons and installing on multiple RPI's with HaOS. My displays are 128x64 and render only half the height obviously, but I've noticed there is already a pull request for supporting that.