adding end stop status to status message
parent
9331ddff19
commit
fe55f588bd
|
@ -80,9 +80,9 @@ void Command::getParameter(char* charPointer) {
|
|||
}
|
||||
|
||||
void Command::print() {
|
||||
Serial.print("Command with code:G");
|
||||
Serial.println(commandCodeEnum);
|
||||
Serial.print("X:");
|
||||
Serial.print("R99 Command with code:G");
|
||||
Serial.print(commandCodeEnum);
|
||||
Serial.print(", X:");
|
||||
Serial.print(axisValue[0]);
|
||||
Serial.print(", Y:");
|
||||
Serial.print(axisValue[1]);
|
||||
|
|
|
@ -62,7 +62,7 @@ void CurrentState::setEndStopState(unsigned int axis, unsigned int position, boo
|
|||
}
|
||||
|
||||
void CurrentState::printPosition() {
|
||||
Serial.print("R04");
|
||||
Serial.print("R82");
|
||||
Serial.print(" X");
|
||||
Serial.print(x);
|
||||
Serial.print(" Y");
|
||||
|
@ -85,7 +85,7 @@ void CurrentState::printBool(bool value)
|
|||
}
|
||||
|
||||
void CurrentState::printEndStops() {
|
||||
Serial.print("R03");
|
||||
Serial.print("R81");
|
||||
Serial.print(" XA");
|
||||
printBool(endStopState[0][0]);
|
||||
Serial.print(" XB");
|
||||
|
|
Loading…
Reference in New Issue