When I run this example code, the gyro/accel work fine, but the magnetometer does not. I2Cdev reports that 0 bytes are read from the magnetometer. Any idea why this might happen? I've been checking and double-checking connections and code all day, and I'm all out of ideas.
↧