Hi,
I gonna to use the link shown idea to diy a GPS car, the link used L293D Motor Driver Shield to drive 4 motors, my question is how can I use it without a L293D Motor Driver Shield , and directly hook a L298 New Dual H Bridge to drive two motors and still use the sketch from the link to do the project?
Thanks
Adam
link for GPS car:
link for L293D Motor Driver Shield:
link for L298 New Dual H Bridge:
may I us the pin below to hook my driver which from .cpp?
// enable both H bridges
pinMode(11, OUTPUT);
pinMode(3, OUTPUT);
digitalWrite(11, HIGH);
digitalWrite(3, HIGH);
........................................
// enable both H bridges
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
digitalWrite(5, HIGH);
digitalWrite(6, HIGH);
You can use whatever pins you want to connect to that driver. You do not get an PWM using that board versus the adafruit shield. You will have to do that yourself.