TroubleshootingArduino

Gravity I2C OLED 128x64 question

userHead Account cancelled 2022-03-12 01:17:39 682 Views1 Replies
I am using (2) of these Gravity I2C OLED 128x64 displays in a project.
I was able to get one of them to work fine on the breadboard so I am that far.
I need to be able to send data to both of them, I have never done that with I2C...it is possible...Yes?
I believe I need to address each I2C device but I am not sure yet how to do that.
Any quick examples?

Also, I machined the case for this project and I put the connector hole on wrong side (display upside down). So I think there is a way to flip the display in software...Yes?
Does this command need to run once just during "void(setup)" or do I need to add it to each OLEDwrite command?

Any help appreciated, I am learning by doing.
Thx
Dave
2022-06-17 11:55:39

Hello! If you use one controller to connect two iic displays with the same address, it is recommended to use an I2C Multiplexer: https://www.dfrobot.com/product-1780.html

userHeadPic Tonny12138