Im trying to run 2 stepper motors independently and would like them to be in separate loop functions. How can I do this?
Pinned at the top of this forum;
http://forum.arduino.cc/index.php?topic=223286.0
Start by blinking two leds independently...
No need for multiple loops.
Here's another good tut that includes a multiple servo example
You don't need multiple loops. You just need to get the one loop() to do several things at a time
Basically, during an iteration of loop() you make a call for each motor to "move a step if it needs to move".
The second example in this simple stepper code could eaily be extended to control several motors.
...R
Stepper Motor Basics