??? 03/10/04 03:37 Read: times |
#66383 - RE: stepper motor control Responding to: ???'s previous message |
David said:
i am using an 8052 microcontroller and want to send step data continuosly to the pc.i have written the code in c where i use the 4 step sequences and use a counter which increments for each step as it is being generated.i use a delay using the for loops. i want to know how to set my motor speed to abt 10 rpm Hi David, Dont use passive FOR Loops unless you are absolutely sure that you can kill time without harming anyone. Use the Timer Interrupt instead, and believe me you can getnerate exact timings with it. -Harsha |