Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
Diff: MotorDriver.h
- Revision:
- 32:d37447aec6b4
- Parent:
- 18:f51b1a94a6e2
- Child:
- 46:fd5a62296b12
--- a/MotorDriver.h Tue Apr 28 09:08:03 2015 +0000 +++ b/MotorDriver.h Mon May 04 15:16:57 2015 +0000 @@ -6,9 +6,12 @@ class MotorDriver : public I2CPeripheral { public: - MotorDriver(I2C &i2c, const uint8_t address); + 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 \ No newline at end of file