Upgrade pathing
This commit is contained in:
@@ -185,6 +185,14 @@ void parseCommand(const String &cmd) {
|
||||
sendPosition();
|
||||
return;
|
||||
}
|
||||
// ZEROALL
|
||||
if (cmd == "ZEROALL") {
|
||||
stepper1.setCurrentPosition(1024);
|
||||
stepper2.setCurrentPosition(0);
|
||||
Serial.println("[SYS] Position blindly reset to home (1024, 0).");
|
||||
sendPosition();
|
||||
return;
|
||||
}
|
||||
// POS – explicit position request
|
||||
if (cmd == "POS") {
|
||||
sendPosition();
|
||||
|
||||
Reference in New Issue
Block a user