ADXL345 Library as part of the 9DOF stick from Sparkfun.com

Dependents:   9DOF-Stick 10dof aigamozu_program_ver2 aigamozu_program_ver2_yokokawa ... more

Files at this revision

API Documentation at this revision

Comitter:
Digixx
Date:
Fri Oct 07 21:06:14 2011 +0000
Parent:
0:1e4aa22fc1a1
Commit message:

Changed in this revision

ADXL345.cpp Show annotated file Show diff for this revision Revisions of this file
ADXL345.h Show annotated file Show diff for this revision Revisions of this file
diff -r 1e4aa22fc1a1 -r 45faba962a46 ADXL345.cpp
--- a/ADXL345.cpp	Fri Oct 07 19:13:33 2011 +0000
+++ b/ADXL345.cpp	Fri Oct 07 21:06:14 2011 +0000
@@ -57,7 +57,7 @@
 
     //400kHz, allowing us to use the fastest data rates.
     //there are other chips on board, sorry
-    //i2c_.frequency(100000);   
+    i2c_.frequency(100000);   
 // initialize the BW data rate
     char tx[2];
     tx[0] = ADXL345_BW_RATE_REG;
diff -r 1e4aa22fc1a1 -r 45faba962a46 ADXL345.h
--- a/ADXL345.h	Fri Oct 07 19:13:33 2011 +0000
+++ b/ADXL345.h	Fri Oct 07 21:06:14 2011 +0000
@@ -1,21 +1,7 @@
 /**
- * @author Peter Swanson
- * A personal note from me: Jesus Christ has changed my life so much it blows my mind. I say this because
- *                  today, religion is thought of as something that you do or believe and has about as
- *                  little impact on a person as their political stance. But for me, God gives me daily
- *                  strength and has filled my life with the satisfaction that I could never find in any
- *                  of the other things that I once looked for it in. 
- * If your interested, heres verse that changed my life:
- *      Rom 8:1-3: "Therefore, there is now no condemnation for those who are in Christ Jesus,
- *                  because through Christ Jesus, the law of the Spirit who gives life has set
- *                  me free from the law of sin (which brings...) and death. For what the law 
- *                  was powerless to do in that it was weakened by the flesh, God did by sending
- *                  His own Son in the likeness of sinful flesh to be a sin offering. And so He
- *                  condemned sin in the flesh in order that the righteous requirements of the 
- *                  (God's) law might be fully met in us, who live not according to the flesh
- *                  but according to the Spirit."
- *
- *  A special thanks to Ewout van Bekkum for all his patient help in developing this library!
+ * @author Uwe Gartmann
+ * @author Used ITG3200 library developed Peter Swanson as template
+ * A special thanks to Ewout van Bekkum for all his patient help in developing this library!
  *
  * @section LICENSE
  *