Question
LSM303DLHC heading calculation
Hello everyone. I have been struggling with creating the tilt compensation compass.
I have prepared the code which is based on demo firmware but I don't receive reliable output. I mean, when I rotate the development board, the heading value doesn't look linear.
Link to my repository for better reading: https://github.com/matwiszynmarek/lsm303dlhc
Where did I do a mistake?
