what are the units of the h3lis331dl output data?
Hi,
I am using h3lis331dl to measure acceleration. I am using the official demo code, and I can get the ID correctly. But when I was trying to get acceleration data, the output data is weird. The output data in hexadecimal are:
data_raw_acceleration.i16bit[0]: 60
data_raw_acceleration.i16bit[1]: 40
data_raw_acceleration.i16bit[2]: 2d0
When I using transformation formula:
#define H3LIS331DL_FROM_FS_100g_TO_mg(lsb) (float)( lsb * 49.0f )
the acceleration data will be really large.
So I wonder what's the unit of the output data? are they m/s^2 or mg?
Thank you in advance!
lyc
