![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Ragnarok
Dependencies: MAG3110 MMA8451Q SLCD eCompass_Lib mbed-rtos mbed
Fork of KL46_eCompass by
Revision 5:5199647e821a, committed 2015-09-25
- Comitter:
- IrvingHdez
- Date:
- Fri Sep 25 19:14:30 2015 +0000
- Parent:
- 4:ba1dbfb683fb
- Commit message:
- Ragnarok project
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
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 } }