Hi I am new to this forum and new to Arduino programming.
I am trying to get my stepper motor to rotate to a set position.
I have completed the full rotation and individual step programs.
What I need is the code to allow me to progress my motor forward and backwards by a given number of steps. Any help would be greatly appreciated.
2 Likes
The difference between stepping a full rotation and a given number of steps is simply the number. You should be able to take the code you have and replace the number of steps for a full rotation with any other given number. If that’s not possible for some reason you should post the code you have used and explain exactly what difficulty you are running into.
4 Likes
Thanks Jeff
I read something else on the forum and did just that.
Works fine now.
Regards,
Gary
3 Likes
Hi Gary and Jeff,
Glad to hear you got it working in the end. Thank you Jeff for weighing in with an excellent troubleshooting process.
1 Like