Hello anyone,
Try as I might I have been unable to find any good accelstepper tutorials. Anyone have a good one? Thanks
(P.S. sorry if this goes against forum ToS, I really have done a thorough search)
Hello anyone,
Try as I might I have been unable to find any good accelstepper tutorials. Anyone have a good one? Thanks
(P.S. sorry if this goes against forum ToS, I really have done a thorough search)
I don't know of any tutorial but there are several examples that come with the library?
If there is something in one of them that you don't understand I will try to help.
At its simplest the library works this way ...
You tell the library what step position you want the motor to go to with the moveTo() function and then you call the run() function as frequently as possible (many times faster than the required interval between steps) and each time run() is called the library checks to see if it is time for the next step and whether it has already reached the destination. If it is time for a step and if the destination has not been reached it causes a step to happen.
...R
Stepper Motor Basics