Cannot get quad 1/2 h-bridge to run...
February 2, 2013
Below is my arduino shield. I have everything working so far exept the SN754410 IC that runs the two motors. What am I doing wrong? Did I wire it wrong? Is my code below wrong? I can get the motor outputs to go to +volts, but not ground. Thanks!
//adapted from blink led tutorial
int ledPin = 6; // LED connected to digital pin 13
int ledPin2 = 10;
int ledPin3 = 2;
int ledPin4 = 3;
int ledPin5 = 5;
pinMode(ledPin, OUTPUT); // sets the digital pin as output
digitalWrite(ledPin3, HIGH); // sets the LED on
digitalWrite(ledPin2, HIGH); // sets the LED on
digitalWrite(ledPin4, LOW); // sets the LED on
digitalWrite(ledPin5, HIGH); // sets the LED on