diozero
diozero copied to clipboard
I2c ssd1306
Not sure if you were working on this. Just in case you find it useful. I added SSD1306 I2C support. Could only test it on Raspberry Pi Zero with pigpio. I hope that I have not broken the other screens. I do not have any of those to test :/
I tried to make it fit with the other SPI oleds.
Also maven archetype was crashing. Probably because of a newer java version.
Thanks for the great project :)
Thank you - I will incorporate ASAP and hope to include in the next release.
FYI I am still working on this and have considered an alternative approach, see https://github.com/mattjlewis/diozero/blob/master/diozero-core/src/main/java/com/diozero/devices/oled/SsdOled.java and https://github.com/mattjlewis/diozero/blob/master/diozero-core/src/main/java/com/diozero/devices/oled/SsdOledCommunicationChannel.java. I need to add I2C alternative constructors for the various OLED devices that I support. Would you be willing to test? I will add to the next release (1.1.7).