I just got my IMU/Depthsensor to work with Arduino Uno. After some help from the other members (switching to secondary address for IMU did the trick).
For my project, I am using a raspberry pi with alamode (arduino shield). When I tried the same sketch here, I get the pressure and temperature values without any hassle. I run into some errors with the IMU initialization again. I get the error:
Product ID read as 0 indicates device is either incompatible or an MPU3050
mpu_init failed with code: -6
Anyway I can solve this?