Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
Diff: MotorDriver.cpp
- Revision:
- 32:d37447aec6b4
- Parent:
- 31:d65576185bdf
- Child:
- 34:01dec68de3ed
--- a/MotorDriver.cpp Tue Apr 28 09:08:03 2015 +0000 +++ b/MotorDriver.cpp Mon May 04 15:16:57 2015 +0000 @@ -3,7 +3,7 @@ #define DEBUG "Motor" #include "Logger.h" -MotorDriver::MotorDriver(I2C &i2c, const uint8_t address) : I2CPeripheral(i2c, address) +MotorDriver::MotorDriver(I2C &i2c, const uint8_t address, PinName interruptPin) : I2CPeripheral(i2c, address), faultLine(interruptPin) { INFO("Motor driver at addr=%#x ready", address); }