Working Degree Correction Demo

Dependencies:   LSM9DS1_Library_cal TCA9548A VL53L0X mbed mbed-rtos

Files at this revision

API Documentation at this revision

Comitter:
jmiller322
Date:
Tue Apr 24 00:40:50 2018 +0000
Parent:
11:8cd808f5637a
Commit message:
Added newline to heading print lines in maintainHeading

Changed in this revision

LSM9DS1_Library_cal.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 8cd808f5637a -r 505684aec350 LSM9DS1_Library_cal.lib
--- a/LSM9DS1_Library_cal.lib	Mon Apr 23 19:36:49 2018 +0000
+++ b/LSM9DS1_Library_cal.lib	Tue Apr 24 00:40:50 2018 +0000
@@ -1,1 +1,1 @@
-https://os.mbed.com/users/Joe5181/code/LSM9DS1_Library_cal/#efa3822c7034
+https://os.mbed.com/users/jmiller322/code/LSM9DS1_Library_cal/#397290def20c
diff -r 8cd808f5637a -r 505684aec350 main.cpp
--- a/main.cpp	Mon Apr 23 19:36:49 2018 +0000
+++ b/main.cpp	Tue Apr 24 00:40:50 2018 +0000
@@ -224,7 +224,7 @@
                                             IMU.calcMag(IMU.my), IMU.calcMag(IMU.mz));
     currentDegreeHeading=fabs(currentDegreeHeading);
     serial_mutex.lock();
-    pc.printf("%d",(int)currentDegreeHeading);
+    pc.printf("%d\n",(int)currentDegreeHeading);
     serial_mutex.unlock();
     if(Phase2==true){
         stop();