Improved eCompass with support for different sensor options and a new C++ wrapper

Dependents:   KL46_eCompass KL46_eCompass_TiltCompensed_Acel-Mag Ragnarok_2ejes compass_acc ... more

Fork of Wi-Go_eCompass_Lib_V3 by Jim Carver

Revision:
6:a161cb3bd061
Parent:
5:1b8ec4e7687b
Parent:
4:45d9f1e8277c
--- 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;
 }