Tohshiba motor driver IC TA8429 class

Dependents:   camera_turret_v2

Revision:
0:a56d6efd9c85
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TA8429.h	Mon Jul 07 09:55:53 2014 +0000
@@ -0,0 +1,16 @@
+#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
\ No newline at end of file