Forgot your password?
No account? Register one!
September 10, 2012
Product SEN-11486 |
about a year ago
Yeah, that’s the code I’ve been using. When I run it as-is, the magnetometer values look like they are working at first glance, but then I realized that what is displaying is the old data in the buffer, and the magnetometer is not actually sending anything. The magnetometer output displayed exactly matches the accelerometer data because they share the buffer.
I also can’t read the WIA register which should return 0x48. I just get zero.
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.
No public wish lists :(