Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
Diff: MotorDriver.h
- Revision:
- 0:943820483318
- Child:
- 12:1632d7391453
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MotorDriver.h Tue Jan 13 11:23:01 2015 +0000 @@ -0,0 +1,13 @@ +#ifndef _H_MOTOR_H +#define _H_MOTOR_H + +#include "I2CPeripheral.h" + +class MotorDriver : public I2CPeripheral { +public: + MotorDriver(I2C &i2c, const uint8_t address); + void setVoltage(const float voltage); + MotorDriver& operator=(const float voltage); +}; + +#endif//_H_MOTOR_H \ No newline at end of file