Hi Mark:
I am analyzing the reading of the acceleration in all three axes, using the file “iic_test.h”.
For this I uncommented the following defined:
#define TEST_FXOS8700 // test monitoring the 6-axis sensor
#define DISPLAY_ACCELEROMETER_VALUES // print values to debug output irrespective of debug setting
and in file “config.h”
#define IIC_INTERFACE // enable IIC interface driver
In debug mode, the result is:
3-axis state: 0xd2 0x08 0xfb 0xcc
I understand that I'm using MMA8451Q functions to read the accelerations in the FXOS8700?. Is this correct?
I uncommented the following defined:
#define MMA8451Q_14BIT_RES
In debug mode, the result is:
3-axis state: 0xd4 0xecfd 0xcc00
The measurement of the Z axis is missing?
Another question?
In the debug mode, pressing any key, the information on the terminal screen is reset. That is, again the measurements of the accelerometer and magnetometer appears. And I can not enter the Main Menu
Many greetings
Carlos