AnsweredAssumed Answered

MMA8652 Sensitivity Value

Question asked by Tuurbo 46 on Feb 26, 2016
Latest reply on Feb 28, 2016 by Tomas Vaverka

Hi,

 

I am just working through the MMA8652 example code, and generating my define values.

 

After searching the net I cannot find an example define value for the  SENSITIVITY_2G.  So would the below be correct for the example code?

 

#define SENSITIVITY_2G    1024   

                                                                      

Z_offset = (Zout_12_bit - SENSITIVITY_2G) / 2 * (-1);          // Compute Z-axis offset correction value

 

Thanks,

 

Rocketman46

Outcomes