I'm having real problems with this. I followed the exact code and setup in this link but my 12V motor won't even move. If I listen closely as I turn the pot, all I get is an audible ringing noise coming from the motor. Even taking the pot out and just writing a PWM value doesn't make a difference.
About the circuit:
The IBT-2 H bridge is connected to a 12v SLA battery with a 15A fuse inline and SPST switch.
Arduino Uno is connected to 10K potentiometer and is using the USB power supply.
Could anyone offer any suggestions why this isn't working?
Thanks
Michael