Apologies for what will seem like an obviuos question to many on here but I'm new and not making much progress trying to contol a 12v dc motor (forward, back, fast and slow) using a 28x1, and a L293d .
If i just use pin high and low, 'for power = 0 to 100' and 'for delay = 1 to 200'
I can get my model to speed up and stop and reverse direction and stop, but i can't get it to slow down gradually.
I've tried to do this using pwmout on the 28x1 but have confused myself about the connections needed between the 28x1 and the L293d and have very little understanding of the code to make this work.
Any advice would be gratefully received.
many thanks.
Tom.
If i just use pin high and low, 'for power = 0 to 100' and 'for delay = 1 to 200'
I can get my model to speed up and stop and reverse direction and stop, but i can't get it to slow down gradually.
I've tried to do this using pwmout on the 28x1 but have confused myself about the connections needed between the 28x1 and the L293d and have very little understanding of the code to make this work.
Any advice would be gratefully received.
many thanks.
Tom.