Works with 8g

Fork of MMA8452 by Ashley Mills

Files at this revision

API Documentation at this revision

Comitter:
ashleymills
Date:
Wed Mar 05 17:04:04 2014 +0000
Parent:
17:6e4232c421c0
Child:
19:4d6cd7140a71
Commit message:
Debugging enabled by default for convenience

Changed in this revision

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