I have a Pro Mini on a breadboard, with 8x I2C 32x182 Oled screens attached.
They all have the same address (0x3c), and I am driving them with the <Adafruit_GFX.h>
and the <Adafruit_SSD1306.h> libraries.
I need to send data to each screen, so I found a CD4051 Multiplexer in my workshop and used that.
I am switching the SDA.
Does it matter whether I switch the SDA or SCL? I just tried it and it ‘kinda’ worked.
I can talk to the displays, but there does appear to be an issue with data occasionally appearing on the wrong screen, even once I have switched data lines.
It’s certainly a bit of a headache getting it to work.
If you write to screens 1-4 with one piece of text. Fine. But then write a different bit of text to screen 5 and it will appear on just screen 5, but along with the text you sent to screens 1-4, even though they are not selected.
Just wondered if it was due to switching the wrong data line.
Code to follow as required