Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Revision:
40:8e852115fe55
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GyroscopeMPU.h	Tue May 26 11:28:37 2015 +0000
@@ -0,0 +1,24 @@
+#ifndef _H_GYROSCOPEMPU_H
+#define _H_GYROSCOPEMPU_H
+
+#include "I2CPeripheral.h"
+#include "Sensor.h"
+
+class GyroscopeMPU : public I2CPeripheral, public Sensor
+{
+public:
+    GyroscopeMPU(I2C &i2c);
+
+    void handleInterrupt(void);
+
+    virtual void powerOff();
+    virtual bool powerOn();
+    virtual void start();
+    virtual void stop();
+    virtual Vector3 read();
+
+protected:
+    InterruptIn int1;
+};
+
+#endif//_H_GYROSCOPE_H
\ No newline at end of file