Default mbed pwm doesn't have enough resolution at high frequencies, thats why I implemented VNH5019 Motor carrier with FastPWM.
Fork of VNH5019 by
Diff: VNH5019.cpp
- Revision:
- 4:3802325cf6e1
- Parent:
- 3:2b139675f60d
- Child:
- 5:b5f360a16354
--- a/VNH5019.cpp Sun Feb 09 11:17:06 2014 +0000 +++ b/VNH5019.cpp Tue Jul 29 14:25:40 2014 +0000 @@ -38,6 +38,7 @@ { INA = 0; INB = 0; + PWM = 0; } else {