1

Files at this revision

API Documentation at this revision

Comitter:
awali
Date:
Tue Mar 22 08:37:27 2022 +0000
Parent:
21:a92a632a0cc7
Commit message:
1

Changed in this revision

MMA8452.h Show annotated file Show diff for this revision Revisions of this file
diff -r a92a632a0cc7 -r 32dff3c99c30 MMA8452.h
--- a/MMA8452.h	Fri Mar 07 14:53:40 2014 +0000
+++ b/MMA8452.h	Tue Mar 22 08:37:27 2022 +0000
@@ -28,11 +28,11 @@
 
 // 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
-  #define MMA8452_ADDRESS 0x3A // 0x1D<<1  // SA0 is high, 0x1C if low - 
-#else
-  #define MMA8452_ADDRESS 0x38 // 0x1C<<1
-#endif
+//#if SA0
+ //#define MMA8452_ADDRESS 0x3A // 0x1D<<1  // SA0 is high, 0x1C if low - 
+//#else
+#define MMA8452_ADDRESS 0x38 // 0x1C<<1
+//#endif
 
 // Register descriptions found in section 6 of pdf
 #define MMA8452_STATUS 0x00        // Type 'read' : Status of the data registers