DCM Code ported from Arduino for FRDM-KL25Z

Dependents:   minimu_data_capture minimu_data_capture

Fork of DCM_AHRS by Kris Reynolds

Revision:
2:85214374e094
Parent:
1:3272ece36ce1
--- a/LSM303.cpp	Mon Apr 23 14:31:08 2012 +0000
+++ b/LSM303.cpp	Tue Jan 20 02:04:07 2015 +0000
@@ -2,7 +2,7 @@
 #include "LSM303.h"
 #include <math.h>
 
-LSM303::LSM303( PinName sda = p9, PinName scl = p10 ) : i2c( sda, scl ) {
+LSM303::LSM303( PinName sda = PTE0, PinName scl = PTE1 ) : i2c( sda, scl ) {
     // These are just some values for a particular unit; it is recommended that
     // a calibration be done for your particular unit.
     m_max.x = +540;