Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: KL46_eCompass KL46_eCompass_TiltCompensed_Acel-Mag Ragnarok_2ejes compass_acc ... more
Fork of Wi-Go_eCompass_Lib_V3 by
Revision 6:a161cb3bd061, committed 2014-05-16
- Comitter:
- JimCarver
- Date:
- Fri May 16 18:18:42 2014 +0000
- Parent:
- 5:1b8ec4e7687b
- Parent:
- 4:45d9f1e8277c
- Commit message:
- Implements new virtual MotionSensor class
Changed in this revision
| eCompass_Lib.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/eCompass_Lib.cpp Fri May 16 18:13:59 2014 +0000
+++ b/eCompass_Lib.cpp Fri May 16 18:18:42 2014 +0000
@@ -16,6 +16,9 @@
{
init_eCompass();
cdebug = 0;
+compass_type = NED_COMPASS; // default type is NED
+tcount = 0;
+seconds = 0;
}

Tilt Compensated eCompass, no FPU
Freescale Multi-Sensor (Multi-B) Shield