Final, cambios pendientes

Dependencies:   MAG3110 MMA8451Q SLCD eCompass_Lib mbed-rtos mbed

Fork of KL46_eCompass_TiltCompensed_Acel-Mag by Irving Hernandez

Revision:
5:5199647e821a
Parent:
4:ba1dbfb683fb
Child:
6:93c9844af619
diff -r ba1dbfb683fb -r 5199647e821a main.cpp
--- a/main.cpp	Sun May 18 15:59:34 2014 +0000
+++ b/main.cpp	Fri Sep 25 19:14:30 2015 +0000
@@ -22,11 +22,9 @@
 extern int32_t tcount;
 extern uint8_t cdebug; 
 
-
 MotionSensorDataCounts mag_raw;
 MotionSensorDataCounts acc_raw;
 
-
 Thread *(debugp);
 Thread *(calibrate);
 Thread *(lcdp);
@@ -111,7 +109,7 @@
     while (true) {
         // Signal flags that are reported as event are automatically cleared.
         Thread::signal_wait(0x4);  
-        slcd.printf("%04d", axis6.yaw); // print the heading (NED compass) to the LCD
+        slcd.printf("%04d", axis6.roll); // print the heading (NED compass) to the LCD
     }
 }