Implemented first Hangar-Service

Dependencies:   CalibrateMagneto QuaternionMath

Fork of SML2 by TobyRich GmbH

MotorDriver.h

Committer:
pvaibhav
Date:
2015-03-13
Revision:
12:1632d7391453
Parent:
0:943820483318
Child:
18:f51b1a94a6e2

File content as of revision 12:1632d7391453:

#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