Command for running l293d through raspberry pi B+ in matlab r2015a
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I want to run motors connected to motor driver ic board l293d. I have assigned Gpio pins 16,20 & 21. In which 16 is enable. My command for running the motors is -
- configureDigitalPin(mypi,16,'output')
- configureDigitalPin(mypi,20,'output')
- configureDigitalPin(mypi,21,'output')
- writeDigitalPin(mypi,16,1)
- writeDigitalPin(mypi,20,1)
- writeDigitalPin(mypi,21,0) Even After giving these commands my dc motor is not rotating. Plz help
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!