Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
GyroscopeMPU.h
- Committer:
- pvaibhav
- Date:
- 2015-05-26
- Revision:
- 40:8e852115fe55
File content as of revision 40:8e852115fe55:
#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