default eCompass example, but with desired serial communication

Dependencies:   MAG3110 MMA8451Q SLCD eCompass_Lib mbed-rtos mbed

Fork of KL46_eCompass by Jim Carver

Revision:
6:f68052364f92
Parent:
5:25d98baa1ded
Child:
7:d932835d9613
--- a/main.cpp	Tue Apr 05 05:47:58 2016 +0000
+++ b/main.cpp	Tue Apr 05 23:17:29 2016 +0000
@@ -81,7 +81,7 @@
         if(l++ >= 50) { // take car of business once a second
             seconds++;
             calibrate->signal_set(0x2);
-            debugp->signal_set(0x01);
+            //debugp->signal_set(0x01);
             l = 0;
             green = !green;
             }
@@ -114,8 +114,8 @@
 void lcd_thread(void const *argument) {
     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
+        Thread::signal_wait(0x04);
+        slcd.printf("%04d", axis6.yaw);
     }
 }