MPU6050/MPU6500/MPU9150/MPU9250 library over I2c

theinlinaung2010:
I had the same problem as you. I renamed the original library "I2Cdev" in my libraries folder and it compiled fine.
But after the values show up on Serial monitor for about 5s, it froze. When I close and reopen Serial monitor, it shows the values and froze again after 5s. I don't know what's wrong.

Does it report something like 'READ ERROR' when it freezes? If it does, can you try to increase Serial speed to 115200: ArduinoMotionSensorExample/AvrCopter.ino at master · rpicopter/ArduinoMotionSensorExample · GitHub

You could also try to decrese I2C speed on Line 8 to 200 to see if it helps.