diozero icon indicating copy to clipboard operation
diozero copied to clipboard

I2c ssd1306

Open tincore opened this issue 4 years ago • 2 comments
trafficstars

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 :)

tincore avatar Feb 25 '21 16:02 tincore

Thank you - I will incorporate ASAP and hope to include in the next release.

mattjlewis avatar Feb 26 '21 16:02 mattjlewis

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

mattjlewis avatar Mar 18 '21 18:03 mattjlewis