Hi,
Yes, if the motor/gearbox requires 4096 steps to turn one revolution the first piece of code will move 360 degrees forward and then 360 degrees back. There are 4 "steps" each time thru the FOR-NEXT loop so 512*4=4096.
In the second piece of code it'll move 1440 degrees forward and then 1440 degrees back.
Bookmarks