eCompass

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

eCompass

1,876 Views
andy87
Contributor II

Hallo,

 

I have a problem when creating a embedded-eCompass-Applikation with the MAG3110(Magnetometer) and the MMA8451A(Accelerometer) on a Kinetis K70.

 

The problem is, that the value of the compass-heading-angle (Rho) always jumps between values of 0°-360°.
So i don't get a continuous value when I turn the eCompass.


I dont see my mistkae in the C-Code (see the attachment).


It would be great if someone could help me.


Best regards,

Andy

Original Attachment has been moved to: eKompass_2.zip

Labels (1)
0 Kudos
Reply
0 Replies