Tohshiba motor driver IC TA8429 class

Dependents:   camera_turret_v2

TA8429.h

Committer:
macht
Date:
2014-07-07
Revision:
0:a56d6efd9c85

File content as of revision 0:a56d6efd9c85:

#ifndef TA8429_H
#define TA8429_H
#include "mbed.h"

class TA8429{
    public:
    TA8429(PinName in1,PinName in2,float frequency);
    void set_CW(float duty);
    void set_CCW(float duty);
    void stop();
    float get_duty(void);
    private:
    PwmOut in1_;
    PwmOut in2_;
};
#endif