I am a rookie of using MMA8452, I want to read data of mma8452 to know the x,y,z;But I read data is always F and 4095,
please help me , thanks!!!
for (i=0; i<6; i++)
BUF[i] = MMA8452_RecvByte();
if (i == 5)
Thank you very much for writing.
In this case, I’d like to recommend the application note AN4076 below:
This application note accompanies the MMA8451, 2, 3Q Driver Code and will explain the following:
Besides, you may use the sample project below as a reference for your application.
Please let me know if you have any further question.