Multiple I2C Devices not working

ddesousa:
Hi there,

I am currently using a MPU6050 accelerometer using the I2CDevlib library and a ssd1306 using the U8g2 library.

During initialisation, the screen does not work after the MPU initialises and I was wondering if the two devices do not work together well.

I am thinking that its something to do with the libraries clashing and not working well together.

Thanks

The possibility of an electrical issue is also present because of the requirement for pullup resistors The MPU6050 has pullup resistors attached to the breakout board 3.3 supply. I'm not familiar with the ssd1306 on board connections. but try this i2c scanner I found. It should respond with all addresses it discovers on your i2c buss
Z

i2c_scanner.ino (2.03 KB)