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.

Dependents:   fxos8700cq_example frdm_fxos8700_logger AVC_test1 frdm_accel ... more

A basic implementation of accessing the FXOS8700CQ. This should be useable, but as the Apache License says, don't expect it to be good at doing anything, even what it's supposed to do.

Files at this revision

API Documentation at this revision

Comitter:
trm
Date:
Tue Jun 03 19:02:19 2014 +0000
Parent:
3:2ce85aa45d7d
Commit message:
Removed extraneous "#define"s.

Changed in this revision

FXOS8700CQ.h Show annotated file Show diff for this revision Revisions of this file
--- 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