mbed device driver for Toshiba TB6612FNG motor driver
Dependents: ROBot TB6612FNG_Sample TB6612FNG_Sample
Diff: TB6612FNG.h
- Revision:
- 1:8f562bdd5e93
- Parent:
- 0:1a07771ff613
--- a/TB6612FNG.h Sun Nov 24 21:47:54 2013 +0000
+++ b/TB6612FNG.h Mon Dec 02 03:58:48 2013 +0000
@@ -67,8 +67,10 @@
TB6612FNG( PinName pinPwmA, PinName pinAin1, PinName pinAin2,
PinName pinPwmB, PinName pinBin1, PinName pinBin2,
PinName pinNStby );
+ void setPwmA(float fPeriod, float fPulsewidth);
void setPwmAperiod(float fPeriod);
void setPwmApulsewidth(float fPulsewidth);
+ void setPwmB(float fPeriod, float fPulsewidth);
void setPwmBperiod(float fPeriod);
void setPwmBpulsewidth(float fPulsewidth);
void standby(void);