MPU6050/MPU6500/MPU9150/MPU9250 library over I2c

Alexvc14:
Hi Gregory,

Great library, that is what I was looking for. Got it up and running on Nano + GY-521. And even connected it to famous teapot demo.

I have a few questions.

  1. Why you produced your own version mpu.cpp? Can I use inv_mpu.cpp?
    2.What should I do to change FSR from 2000 to 250 ? (as far as I understand it is much more than just simple #define FSR 250 in mpu.cpp)

Hi,

The mpu.cpp is not a substitution of inv_mpu.cpp. It contains just a common initialisation code that in turn calls for inv_mpu functions.

You should be able to change FSR, just remember to update GYRO_SENS accordingly. See line 6 and 7 in mpu.cpp