Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/22/04 00:40
Read: times


 
#63105 - RE: stepper motor control
Responding to: ???'s previous message

Try initialising the serial port and using printf to output the count. The step count can be a global variable that gets increments each time you step forward and decrements each time you step backwards.

Also, you might wish to incorporate a timer into your code to make the step speed more consistant. It seems you've got the general idea of how to step the motor, so do some more research and answer your own question.

List of 8 messages in thread
TopicAuthorDate
stepper motor control            01/01/70 00:00      
   Here's the code            01/01/70 00:00      
      RE: Here's the code            01/01/70 00:00      
   RE: stepper motor control            01/01/70 00:00      
      RE: stepper motor control            01/01/70 00:00      
   RE: stepper motor control            01/01/70 00:00      
      RE: stepper motor control            01/01/70 00:00      
         RE: stepper motor control            01/01/70 00:00      

Back to Subject List