Interface library for STMicro LSM303DLH 3-axis magnetometer w/ 3-axis acceleromter. Computes magnetic heading.
Fork of LSM303DLH by
Diff: LSM303DLH.cpp
- Revision:
- 3:9c3f240d14bf
- Parent:
- 2:aea5caec809c
diff -r aea5caec809c -r 9c3f240d14bf LSM303DLH.cpp --- a/LSM303DLH.cpp Tue Apr 12 18:21:44 2011 +0000 +++ b/LSM303DLH.cpp Wed Oct 15 15:01:31 2014 +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 {