Accel
Fork of FXOS8700 by
Revision 5:cbe52f68f6a0, committed 2017-04-26
- Comitter:
- tdh50
- Date:
- Wed Apr 26 16:41:05 2017 +0000
- Parent:
- 4:b7334257ebe8
- Commit message:
- Already Commited;
Changed in this revision
FXOS8700.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r b7334257ebe8 -r cbe52f68f6a0 FXOS8700.h --- a/FXOS8700.h Mon Apr 10 22:31:14 2017 +0000 +++ b/FXOS8700.h Wed Apr 26 16:41:05 2017 +0000 @@ -19,15 +19,13 @@ #ifndef FXOS8700_H #define FXOS8700_H #include "mbed.h" - #define FXOS8700_I2C_ADDRESS (0x1E<<1) //pins SA0,SA1=0 - #define FXOS8700_STATUS 0x00 -#define FXOS8700_MDR_STATUS 0x32 -#define FXOS8700_WHO_AM_I 0x0D +//#define FXOS8700_MDR_STATUS 0x32 +//#define FXOS8700_WHO_AM_I 0x0D #define FXOS8700_CTRL_REG1 0x2A -#define FXOS8700_M_CTRL_REG1 0x5B -#define FXOS8700_WHO_AM_I_VALUE 0xC7 +//#define FXOS8700_M_CTRL_REG1 0x5B +//#define FXOS8700_WHO_AM_I_VALUE 0xC7 class FXOS8700 {