olikraus / u8glib

Arduino Monochrom Graphics Library for LCDs and OLEDs
https://github.com/olikraus/u8glib/wiki
Other
1.25k stars 314 forks source link

Two SH1106 display on i2c (freeze issue) #535

Open FurqanChaudhary opened 4 months ago

FurqanChaudhary commented 4 months ago

Hello!

First, I want to express my appreciation for this great library.

I am facing an issue in my project where I am using two OLED displays with the SH1106 driver. Since there is no way to change the address of the displays, I have kept the address of both displays the same. These two displays are connected to an Arduino using I2C, and I am using the u8glib library.

Until now, everything has been working perfectly as expected despite the displays having the same address. However, occasionally, both displays freeze (i.e., no change occurs), and the Arduino controller also hangs or freezes.

Please provide support or suggest if there is any way to use two instances in u8glib for different addresses.

Thank you!