MPU6050/MPU6500/MPU9150/MPU9250 library over I2c

H

gregd72002:
Hi CWhy,

Can you try to call mpu_set_sensors before mpu_init: ArduinoMotionSensorExample/mpu.cpp at master · rpicopter/ArduinoMotionSensorExample · GitHub

What does mpu_set_sensors return?

Thanks,
Gregory

Hi! I have the same "problem". When I turn off debugging, though, it works. When it's turned on, I get the same issue: mpu_read_mem from address 0x17 fails. I've tried putting 0x16; then, it reads 127, or sometimes 0, and complains about the revision. I've disabled the check and then it works fine. Is that something important?