sk8ter87
Member level 3
Your sequence most probably wrong. You only control one side. By using this you need to control all 4 sides. If you do what you have done, you have shorted part of the power source to GND.
}
tq for the sample code.. actually i trying to control 2 motors. i would like the both motors to rotate clockwise and anti-clockwise. the programming i send is based as i mentioned.. the result "both motors can rotate in clockwise" but "the anticlockwise rotation is very slow which unable my car to move".. after i check my PIC16.. the Voltage from the PIC to L293D is very low for the anticlockwise. for example:
output at PIC16
for clockwise
pin 1 high(5V)
pin 2 low (0V)
for anticlockwise
pin 1 low (0V)
pin 2 high (1V) <---- the problem()
do u have idea how can i solve this problem, Thank you..