ECE 4180 Lab 2 Part 2
Dependencies: LSM9DS1_Library_cal mbed
Fork of LSM9DS1_Demo_wCal by
Diff: main.cpp
- Revision:
- 1:5d0703ebf972
- Parent:
- 0:e693d5bf0a25
--- a/main.cpp Wed Feb 03 18:47:07 2016 +0000 +++ b/main.cpp Tue Oct 09 00:46:37 2018 +0000 @@ -8,7 +8,7 @@ #define DECLINATION -4.94 // Declination (degrees) in Atlanta,GA. DigitalOut myled(LED1); -Serial pc(USBTX, USBRX); +Serial pc(p9, p10); // 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