Can anyone teach me how to program a toggle switch to turn on the stepper motor (turns 90 degrees clockwise) and turning off to let it turn 90 degrees anti clockwise?
And also how to set the stepper motor to move from original position?
Can anyone teach me how to program a toggle switch to turn on the stepper motor (turns 90 degrees clockwise) and turning off to let it turn 90 degrees anti clockwise?
And also how to set the stepper motor to move from original position?
Have you tried writing code for a switch and a stepper motor separately? What stepper and switch hardware do you have? Are you using a stepper library?
im using a stepper motor and a ULN2003 Driver. I tried to program it but i could’nt make it work.
What is your experience level?
im not very experience. I am working on a school project. However, I managed to make the stepper motor work but i just dont know how to program the switches. Ive only learned the basics of C++ .
njhartly:
However, I managed to make the stepper motor work but i just dont know how to program the switches.
Please post the program that represents your best attempt and tell us in detail what it actually does and what you want it to do that is different. Then we can focus on the parts you need help with rather than wasting time on things that you can do.
...R