2015-09-08 11:23 AM
Hi,
I am getting the accelerometer and magnetometer raw data from the device. I calculated the max and min for magnetometer and somehow got the heading correct to an extent when device is flat and stationary. I am not able to do the tilt compensation right. I tried different methods but I am getting the final value wrong. Can someone suggest the conversion of raw data using tilt compensation? #lsm303d