Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

Committer:
pvaibhav
Date:
Tue Mar 31 15:21:34 2015 +0000
Revision:
18:f51b1a94a6e2
Parent:
12:1632d7391453
Child:
32:d37447aec6b4
Remove asserts (use clipping instead)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pvaibhav 0:943820483318 1 #ifndef _H_MOTOR_H
pvaibhav 0:943820483318 2 #define _H_MOTOR_H
pvaibhav 0:943820483318 3
pvaibhav 0:943820483318 4 #include "I2CPeripheral.h"
pvaibhav 0:943820483318 5
pvaibhav 12:1632d7391453 6 class MotorDriver : public I2CPeripheral
pvaibhav 12:1632d7391453 7 {
pvaibhav 0:943820483318 8 public:
pvaibhav 0:943820483318 9 MotorDriver(I2C &i2c, const uint8_t address);
pvaibhav 18:f51b1a94a6e2 10 void setVoltage(float voltage);
pvaibhav 0:943820483318 11 MotorDriver& operator=(const float voltage);
pvaibhav 0:943820483318 12 };
pvaibhav 0:943820483318 13
pvaibhav 0:943820483318 14 #endif//_H_MOTOR_H