Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
running a stepper motor using a L293D driver from the 8051 processor
this is the code that i wrote for running my stepper motor thru the L293D driver. the output is meant for running the stepper motor (generating a waveform with 4 outputs, being : 1) 1001
4) 0011 )
can anyone help me to check if the code is correct??? my motor doen't seem to run, nor even generate waveforms of the needed output. its urgent... can anyone help?
MAIN: SETB P0.4
LOOP: MOV TH0,#0FEH
WAIT: JNB TF0,WAIT
ALT: CPL P0.2