i have been trying to combine a adafruit sd shield and mpu-6050 so i can data log accelerameter and gyro info for a larger project. everthing works fine individually but currently ive been running into an issue getting I2C to work when i combine the 2 parts. if i try to run my code with the DS1307 RTC on the shield I2c will fail to initialize, but if i remove the RTC I2c will initalize but i need the RTC for my project.
heres serial print from 2 runs first is with the RTC in and the other RTC removed.
Initializing I2C devices...
Testing device connections...
MPU6050 connection failed
Initializing SD card...card initialized.
Logging to: LOGGER01.CSV
Initializing DMP...Initializing I2C devices...
Testing device connections...
MPU6050 connection successful
Initializing SD card...card initialized.
Logging to: LOGGER02.CSV
Initializing DMP...
Enabling DMP...
Enabling interrupt detection (Arduino external interrupt 0)...
DMP ready! Waiting for first interrupt...
millis,stamp,datetime,yaw,x accel,y accel, z accel
1999, 1647031850, "2156/62/32 2:79:6", 180.00, 0, 0, 0
2999, 1647031850, "2156/62/32 2:79:6", 180.00, 0, 0, 0
3999, 1647031850, "2156/62/32 2:79:6", 180.00, 0, 0, 0...