Interface library for STMicro LSM303DLH 3-axis magnetometer w/ 3-axis acceleromter. Computes magnetic heading.

Dependents:   FCFS

Fork of LSM303DLH by Michael Shimniok

Files at this revision

API Documentation at this revision

Comitter:
hiarora
Date:
Fri Oct 30 04:11:28 2015 +0000
Parent:
2:aea5caec809c
Commit message:
sex

Changed in this revision

LSM303DLH.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r aea5caec809c -r f79253ebb396 LSM303DLH.cpp
--- a/LSM303DLH.cpp	Tue Apr 12 18:21:44 2011 +0000
+++ b/LSM303DLH.cpp	Fri Oct 30 04:11:28 2015 +0000
@@ -41,7 +41,7 @@
 
 #define FILTER_SHIFT 6      // used in filtering acceleromter readings
 
-const int addr_acc = 0x30;
+const int addr_acc = 0x32;
 const int addr_mag = 0x3c;
 
 enum REG_ADDRS {