olikraus / ucglib

Arduino True Color Library for TFTs and OLEDs
https://github.com/olikraus/ucglib/wiki
Other
261 stars 76 forks source link

Displays flicker when using I2C #68

Closed mkluge closed 7 years ago

mkluge commented 7 years ago

Hi,

one an Arduino Uno R3 Board I have two displays connected using:

Ucglib_ST7735_18x128x160_SWSPI lcd_right( 1, 2, 3, 0, 4); Ucglib_ST7735_18x128x160_SWSPI lcd_left( 9, 10, 11, 8, 12);

As soon as data are transmitted via I2C using the A4/A5 pins via the Wire lib, the displays start flashing (backlight goes off and on and text vanishes; looks like the display is reset). The flashing pattern is different on both displays. When I use the UTFT lib (which is too big for my use case), I don't see this flashing. Is there anything wrong with my setup or can I even use two displays in parallel?

Regards, Michael

mkluge commented 7 years ago

Nevermind. Works well now, just a memory overflow in my code.