Grove 3-Axis Compass v1.2 and Yun

Hi Seeed,

I have a Grove - 3-Axis Compass v1.2 and I’ve loaded up the HMC5883L example code. It runs, but always puts out the same values regardless of how you orient the sensor.

Is it faulty?

I’ve tried setting the correct declination and varying the delay, but it still only reports one set of raw values over and over. :confused:

Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees Raw: 1143 3682 1151 Scaled: 1051.56 3387.44 1058.92 Heading: 1.39 Radians 79.49 Degrees

UPDATE: This appears to be an issue with the Yun only! Somehow it is not working properly on this Arduino card.