rpicopter / MotionSensorExample

MPU6050/MPU6500/MPU9150/MPU9250 over I2c for RaspberryPi
137 stars 80 forks source link

MPU9250 support? #7

Open chrisspen opened 8 years ago

chrisspen commented 8 years ago

I changed the compiler flag to 9250, and it seems to compile fine, but when I run it against my MPU9250, it hangs at "Checking...", and never seems to receive any FIFO packets.

Do you know if this code works with the 9250?

srussvoll commented 5 years ago

I tried this code on my MPU9250. There seemed to be a bug in the code, and after some investigation it turned out the code does not support revisions higher than 1. You can adapt a newer version of the InvenSense library to make it work again.

srussvoll commented 5 years ago

I decided to give it a try, and it worked fine with the newest version of the InvenSense MPU library.