An eCompass library only for use on FPU enabled platforms like the K64F
Dependents: K64F_eCompass_LCD rtos_compass K64F_eCompass GPS_6Axis_DataLogger_SD_UDP ... more
Fork of eCompass_Lib by
Revision 5:aeaceeb90d58, committed 2014-04-14
- Comitter:
- JimCarver
- Date:
- Mon Apr 14 17:13:59 2014 +0000
- Parent:
- 4:3842f7654e34
- Child:
- 6:37bc03c3b1f9
- Commit message:
- This is an eCompass library dedicated to FPU enabled devices like the K64F
Changed in this revision
eCompass_Lib.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/eCompass_Lib.cpp Mon Apr 14 02:02:31 2014 +0000 +++ b/eCompass_Lib.cpp Mon Apr 14 17:13:59 2014 +0000 @@ -15,6 +15,11 @@ eCompass::eCompass() { init_eCompass(); +// default compass is NED +// Can be changed by user code to: +// compass_type = ANDROID_COMPASS; +// compass_type = WINDOWS_COMPASS; +compass_type = NED_COMPASS; cdebug = 0; }