PDA

View Full Version : Basic Stamp and Stepper Programming



NWUpgrades
04-10-2007, 06:37 AM
I had this completed a couple years ago but somewhere along the line I lost the code. I have several stepper motors. I had written a basic program that when the pushbutton at P0 was pressed, the motor would rotate clockwise and when the pushbutton at P1 was pressed, it would rotate counterclockwise. The step did not need to be precise, and the code I used seemed to work to test all my motors. Any suggestions would be greatly appreciated. Thanks

Bruce Bates
04-10-2007, 02:17 PM
NWUpgrades -

If there's a question in there, I'm afraid I don't see it.

Regards,

Bruce Bates

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔

NWUpgrades
04-10-2007, 11:10 PM
My apologies. I guess the question would be, Does anyone know how to do this in a Basic program that does not get to in depth? Like I said, I had it going before, but lost my code somewhere and for the life of me I can not remember what I did. Thanks.

Mike Green
04-10-2007, 11:18 PM
There's an application note here with sample programs: www.parallax.com/dl/docs/prod/motors/Stepper_Motor_27964.pdf (http://www.parallax.com/dl/docs/prod/motors/Stepper_Motor_27964.pdf)