Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Revision:
25:abb0f208e6a9
Parent:
21:5a0c9406e119
Child:
31:d65576185bdf
--- a/Gyroscope.cpp	Mon Apr 13 14:54:35 2015 +0000
+++ b/Gyroscope.cpp	Fri Apr 17 12:08:00 2015 +0000
@@ -35,7 +35,7 @@
 
 void Gyroscope::start()
 {
-    write_reg(0x10, 5); // set capture rate: 200 Hz / filter: 23 Hz
+    write_reg(0x10, 5); // set capture rate: 100 Hz / filter: 12 Hz
     write_reg(0x16, 5); // interrupts active high, push-pull
     write_reg(0x18, 1 << 0); // map new data interrupt to INT3 pin (1st interrupt for gyro)
     int1.rise(this, &Gyroscope::handleInterrupt);