Lab 2 Part 2

Dependencies:   mbed LSM9DS1_Library_cal

Files at this revision

API Documentation at this revision

Comitter:
glanier9
Date:
Thu Feb 11 16:02:26 2021 +0000
Parent:
1:de9832e45f61
Commit message:
Final version

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Feb 01 21:21:21 2021 +0000
+++ b/main.cpp	Thu Feb 11 16:02:26 2021 +0000
@@ -8,7 +8,7 @@
 #define DECLINATION -4.94 // Declination (degrees) in Atlanta,GA.
 
 DigitalOut myled(LED1);
-Serial pc(p27,p28);
+Serial pc(p28,p27);
 // Calculate pitch, roll, and heading.
 // Pitch/roll calculations taken from this app note:
 // http://cache.freescale.com/files/sensors/doc/app_note/AN3461.pdf?fpsp=1