It's most likely a software problem. Have you tried working from my code fragment, which declares one i2c bus and two devices on it at different addresses?when i run the main.py from thonny, it's throwing the error message as soon as i try to add the extra lines to the script for the extra screen.
yet runs fine without the extra lines. even with the power shut off on the usb line since it's running on battery it will keep outputting into the shell, which i think is kind of cool.
so i plugged the second OLED into the 5v and the code is still erroring at the same point.
Alternatively, since you now have two displays with different addresses (let's call them A & B) you could try your code that currently works with a single screen, screen A, and change the address in the code to B and swap the screens. It should all work identically.
This will show that both display modules work, and that the software can be configured to send data to a specific address.
Statistics: Posted by ame — Mon Jan 27, 2025 3:43 am