Robin2:
polyglot:
due to jitter in your step speed.Sorry, but I don't understand. Why wouldn't the timing of my loop iterations be consistent?
And in any case the motor has no choice but to move in steps so, in theory, the tool tip will be in the wrong place almost all of the time.
...R
Because the loop is timed by delays (which are inherently a bit jittery the way they're implemented), and because the time taken to execute each loop iteration between delays will not be consistent if the loop contains any flow-control (if statements), which it will need to do. Depending on your purposes, it may well be perfectly fine to use a loop.