Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Revision:
32:d37447aec6b4
Parent:
15:4488660e1a3b
Child:
34:01dec68de3ed
--- a/Magnetometer.cpp	Tue Apr 28 09:08:03 2015 +0000
+++ b/Magnetometer.cpp	Mon May 04 15:16:57 2015 +0000
@@ -4,7 +4,7 @@
 
 #include "Vector3.h"
 
-Magnetometer::Magnetometer(I2C &i2c) : I2CPeripheral(i2c, 0x10 << 1 /* address */)
+Magnetometer::Magnetometer(I2C &i2c) : I2CPeripheral(i2c, 0x10 << 1 /* address */), int1(p5), int2(p27)
 {
     if (powerOn()) {
         readCalibrationData(); // temperature calibration