Lab 2 Part 2
Dependencies: mbed LSM9DS1_Library_cal
Revision 2:cc925b968c54, committed 2021-02-11
- 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 |
diff -r de9832e45f61 -r cc925b968c54 main.cpp --- 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