Lab 2 Part 3

Dependencies:   mbed 4DGL-uLCD-SE LSM9DS1_Library_cal

Revision:
1:de9832e45f61
Parent:
0:e693d5bf0a25
Child:
2:3d9e0b74f24d
--- a/main.cpp	Wed Feb 03 18:47:07 2016 +0000
+++ b/main.cpp	Mon Feb 01 21:21:21 2021 +0000
@@ -8,7 +8,7 @@
 #define DECLINATION -4.94 // Declination (degrees) in Atlanta,GA.
 
 DigitalOut myled(LED1);
-Serial pc(USBTX, USBRX);
+Serial pc(p27,p28);
 // 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
@@ -47,7 +47,7 @@
 int main()
 {
     //LSM9DS1 lol(p9, p10, 0x6B, 0x1E);
-    LSM9DS1 IMU(p28, p27, 0xD6, 0x3C);
+    LSM9DS1 IMU(p9, p10, 0xD6, 0x3C);
     IMU.begin();
     if (!IMU.begin()) {
         pc.printf("Failed to communicate with LSM9DS1.\n");