Software Side of VNH5019 Remapping

I was able to remap M2PWM from pin10 into pin11, but how do I get the software to recognize this change?


I removed your other post, since it was the same question.

The pin definitions for M1PWM and M2PWM on the dual VNH5019 motor shield are defined in the header file, DualVNH5019MotorShield.h, of its Arduino library. However, (if you do not already know) the DualVNH5019MotorShield library assumes PWM is on Timer 1, which is why the library does not allow you to remap those pins unlike the other control pins on the shield.

It is not exactly clear to me what it is you are trying to do. Why do you want to remap M2PWM to be on pin 11? Can you tell me more about your setup? What Arduino board are you using?

- Amanda

Thank you, but my team and I were able to acheive our goal with a different