I trying to use the sn754410 to move and old toy (forward/reverse)with the arduino UNO.
this doesnot have a 9 volts supply so I use an external one,
Can anyone tell me if there is anything wrong with the code?
[//ARDUINO CODE FOR SN754410 H-BRIDGE
//MOTOR FORWARD AND REVERSE
int speedPin = 3; //enable pin for speed motor
int forward = 6; //moving forward
int reverse = 7; //moving reverse
int ledPin = 13; //status led
int speed_value_motor; //value for speed motor
//CONTROL THE SPEED 0-255
speed_value_motor = 120; //1/4 of the speed