I think there was a bug with debug mode
Dependents: Generic_Platformer
Diff: MMA8452.h
- Revision:
- 18:27d839e6dc0e
- Parent:
- 17:6e4232c421c0
- Child:
- 19:4d6cd7140a71
--- a/MMA8452.h Wed Mar 05 17:01:00 2014 +0000 +++ b/MMA8452.h Wed Mar 05 17:04:04 2014 +0000 @@ -24,6 +24,8 @@ #include "mbed.h" +#define MMA8452_DEBUG 1 + // More info on MCU Master address can be found on section 5.10.1 of http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=MMA8452Q #define SA0 1 #if SA0