LIS2DH12 how to calculate G value from X Y Z output
I'm new to sensor programming.
I want to have G value with X,Y,Z output values.
Here's what I have done - sqrt( x^2+y^2+z^2 ) = G
please give me any advice to have a better outcome.
If I miss any values that I might have between the above equation, please help me.
Thank you in advance
