I am using a LMS303 on a polo breakout board using the Lib available in the playground with my own calibration added
the heading readings are a bit jumpy, +3 degree range pretty much,
i was wanting to sample the readings then get the average
but if you do that with heading readings when it gets around to the 360 mark and you are jumping to 1 again, if you average those you are way off.
example: (360+359+360+1+360 + 1)/6 = 240
is their another way i can go about this to get my readings a bit more accurate?