Posted on September 08, 2015 at 20:23Hi,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...