hi,
i am trying to simulate a code for two i2c oleds with same arduino using two different address(0x3C and 0x3D) in proteus.
when i am doing a I2C check iam able to see two addresses.But when i run the simulation iam able to get only one oled display while other shows blank.
In code When (SSD1306_Switchcapvcc,0x3C) is placed first then 3C address oled alone displays the message or if I put (SSD1306_switchcapvcc,0x3D) first then 3D address oled alone displays the message.
I dont understand what the mistake im doing here.
It is same when im running the one i2c and spi oled at same time using same arduino uno.
please help me in solving the issue.
oled_dual.ino (1.69 KB)
oledi2ctwo.ino (742 Bytes)