mma8451q driver with a few minor modifications
Fork of lib_mma8451q by
Diff: mma8451q.h
- Revision:
- 7:a68d2ad81d11
- Parent:
- 4:b06535efa239
diff -r 828b08201d8b -r a68d2ad81d11 mma8451q.h --- a/mma8451q.h Fri Aug 12 14:13:17 2016 +0000 +++ b/mma8451q.h Mon Jul 31 13:47:22 2017 -0400 @@ -1,3 +1,6 @@ +#ifndef __MMA8451Q_H__ +#define __MMA8451Q_H__ + #include "mbed.h" /* Xtrinsic accelerometer */ @@ -196,3 +199,4 @@ MMA_orientation orientation; }; +#endif