ADX 345 lib

Dependents:   Kalman_IMU_ADX345_HMC5843_copy

Fork of ADXL345_I2C by Ian Molesworth

Files at this revision

API Documentation at this revision

Comitter:
rulla
Date:
Tue Oct 03 16:36:43 2017 +0000
Parent:
1:92fa975dab32
Commit message:
Working

Changed in this revision

ADXL345_I2C.h Show annotated file Show diff for this revision Revisions of this file
diff -r 92fa975dab32 -r b6a29943700f ADXL345_I2C.h
--- a/ADXL345_I2C.h	Wed Feb 02 07:01:39 2011 +0000
+++ b/ADXL345_I2C.h	Tue Oct 03 16:36:43 2017 +0000
@@ -91,9 +91,9 @@
 #define ADXL345_12HZ5       0x07
 #define ADXL345_6HZ25       0x06
 
-#define ADXL345_ID          0x1D
-#define ADXL345_I2C_READ    0x3B
-#define ADXL345_I2C_WRITE   0x3A
+#define ADXL345_ID          0x53
+#define ADXL345_I2C_READ    0xa7
+#define ADXL345_I2C_WRITE   0xa6
 #define ADXL345_MULTI_BYTE  0x60
 
 #define ADXL345_X           0x00