TinyCircuits

9 axis IMU - Accelerometer minus gravity?

9 axis IMU - Accelerometer minus gravity?
« on: January 25, 2017, 07:43:27 AM »
Hi,

I have recently purchased a TinyDuino 9 Axis IMU.  I have managed to get the basic reading by downloading the RTIMULIB Libraries which displays the Gyro, Accelerometer, Magnetometer & Fusion data.  I would like to display the accelerometer data minus the gravity element.  Is there a value within the libraries which I can use for this purpose or a formula I can use myself to get this information? 

Many Thanks,

Andy.