mattjlewis / diozero

Java Device I/O library that is portable across Single Board Computers and microcontrollers. Tested with Raspberry Pi, Odroid C2, BeagleBone Black, Next Thing CHIP, Asus Tinker Board and Arduinos / Pico. Supports GPIO, I2C, SPI as well as Serial communication. Also known to work with Udoo Quad.
https://www.diozero.com
MIT License
261 stars 59 forks source link

Add new OLED for SH1106 display. #194

Closed EAGrahamJr closed 5 months ago

EAGrahamJr commented 6 months ago

Monochrome 128x64 display that uses "paged mode" to upload to the driver. Extracted all the common stuff from SSD1306, just in case there's more display types to come.

Also refactored the sampleapps to run the same outputs via either "channel" selector or either monocrhome driver, as well as making the packages match the devices.