Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
MotorDriver.h
- Committer:
- pvaibhav
- Date:
- 2015-05-04
- Revision:
- 32:d37447aec6b4
- Parent:
- 18:f51b1a94a6e2
- Child:
- 46:fd5a62296b12
File content as of revision 32:d37447aec6b4:
#ifndef _H_MOTOR_H #define _H_MOTOR_H #include "I2CPeripheral.h" class MotorDriver : public I2CPeripheral { public: MotorDriver(I2C &i2c, const uint8_t address, PinName interruptPin); void setVoltage(float voltage); MotorDriver& operator=(const float voltage); private: InterruptIn faultLine; }; #endif//_H_MOTOR_H