no message
parent
14d35aa3e5
commit
ae760c339f
|
@ -95,7 +95,7 @@ void loop() {
|
||||||
|
|
||||||
steppers.moveTo(positions);
|
steppers.moveTo(positions);
|
||||||
steppers.runSpeedToPosition(); // Blocks until all are in position
|
steppers.runSpeedToPosition(); // Blocks until all are in position
|
||||||
delay(3000);
|
delay(500);
|
||||||
// Move to a different coordinate
|
// Move to a different coordinate
|
||||||
positions[0] = 0;
|
positions[0] = 0;
|
||||||
positions[1] = 0;
|
positions[1] = 0;
|
||||||
|
@ -104,6 +104,6 @@ void loop() {
|
||||||
positions[4] = 220;
|
positions[4] = 220;
|
||||||
steppers.moveTo(positions);
|
steppers.moveTo(positions);
|
||||||
steppers.runSpeedToPosition(); // Blocks until all are in position
|
steppers.runSpeedToPosition(); // Blocks until all are in position
|
||||||
delay(5000);
|
delay(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue