Interface library for STMicro LSM303DLH 3-axis magnetometer w/ 3-axis acceleromter. Computes magnetic heading.
Fork of LSM303DLH by
Revision 3:f79253ebb396, committed 2015-10-30
- 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 |
--- 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 {
