SH1106 based OLED displays and Arduino Zero - Looking for library

Hi,
Has anyone found a working library compatible with arduino zero for those cheap (ebay) 1.3 inch IIC OLED displays based on the SH1106 chip ?
The Adafruit library supports only the SD1306 chip and while some people tried to modify it to also support the SH1106, I couldn't find a working example so far.

You can try https://github.com/prenticedavid/Adafruit_SH1106_kbv

It is a private library that is not available through the Library Manager. But it works on Arduino Zero / M0 (and most other platforms)

David.

Thanks for the input.

It appears that library supports only SPI displays or am I mistaken....?

No, it supports any valid hardware I2C, any valid hardware SPI, any bit-banged SPI.
It uses exactly the same constructors as Adafruit_SSD1306

It defaults to the standard Wire or SPI

The examples are for the standard Wire

Surely you would just install it. Run the examples. If you have a problem, you would report it in your message.
If you don't want to use this library, you delete the directory.

David.

thanks!

I managed to get it working now!

I have a sample code download on my website if that helps.

Which is the website?

Sorry, I was sure clicking the profile showed the link!!!
Here you go: https://www.bezelsanddisplays.co.uk/

Thanks!

Which is Adafruit_SH1106.h library included in the test code?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.