An in-development library to provide effective access to all features of the FXOS8700CQ on the FRDM-K64F mbed-enabled development board. As of 28 May 2014 1325EDT, the code should be generally usable and modifiable.
Diff: FXOS8700CQ.h
- Revision:
- 4:e2fe752b881e
- Parent:
- 3:2ce85aa45d7d
- Child:
- 5:d1fa77b56bc7
--- a/FXOS8700CQ.h Wed May 28 18:38:09 2014 +0000 +++ b/FXOS8700CQ.h Tue Jun 03 19:02:19 2014 +0000 @@ -97,10 +97,6 @@ // 6 channels of two bytes = 12 bytes; read from FXOS8700CQ_OUT_X_MSB #define FXOS8700CQ_READ_LEN 12 -// From mbed I2C documentation for complete read/write transactions -#define I2C_SUCCESS 0 -#define I2C_FAILURE 1 - // For processing the accelerometer data to right-justified 2's complement #define UINT14_MAX 16383