SparkFun Electronics will be closed on July 3rd, 2015 in observance of Independence Day. Any orders placed after 2:00pm MT on July 2nd will be shipped out after the weekend. Thanks!

Member #360267

Member Since: September 10, 2012

Country: United States

  • 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 :(