Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
Gyroscope.h
- Committer:
- pvaibhav
- Date:
- 2015-05-04
- Revision:
- 32:d37447aec6b4
- Parent:
- 12:1632d7391453
- Child:
- 39:1fa9c0e1ffde
File content as of revision 32:d37447aec6b4:
#ifndef _H_GYROSCOPE_H #define _H_GYROSCOPE_H #include "I2CPeripheral.h" #include "Sensor.h" class Gyroscope : public I2CPeripheral, public Sensor { public: Gyroscope(I2C &i2c); void handleInterrupt(void); virtual void powerOff(); virtual bool powerOn(); virtual void start(); virtual void stop(); virtual Vector3 read(); protected: InterruptIn int1; InterruptIn int2; }; #endif//_H_GYROSCOPE_H