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.
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.