Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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.
Revision 4:e2fe752b881e, committed 2014-06-03
- 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