Peter Swanson / ADXL345_I2C参考 http://mbed.org/users/peterswanson87/code/ADXL345_I2C/

Dependencies:   mbed

Fork of ADXL345_I2C by Peter Swanson

Revision:
2:84e6d627c619
Parent:
1:d9412b56f98a
--- a/ADXL345_I2C.h	Thu May 12 01:19:36 2011 +0000
+++ b/ADXL345_I2C.h	Thu Aug 01 08:13:05 2013 +0000
@@ -109,7 +109,7 @@
 #define ADXL345_I2C_ADDRESS 0x53   //the ADXL345 7-bit address is 0x53 when ALT ADDRESS is low as it is on the sparkfun chip: when ALT ADDRESS is high the address is 0x1D
 
 /////////////when ALT ADDRESS pin is high:
-//#define ADXL345_I2C_READ    0x3B   
+//#define ADXL345_I2C_READ    0x3B
 //#define ADXL345_I2C_WRITE   0x3A
 //#define ADXL345_I2C_ADDRESS 0x1D