Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix communication with standard reprapHost-Software #135

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions Sprinter/Sprinter.pde
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ inline void process_commands()
#endif
if( (millis() - codenum) > 1000 ) //Print Temp Reading every 1 second while heating up/cooling down
{
Serial.print("T:");
Serial.print("// T:");
Serial.println( analog2temp(current_raw) );
codenum = millis();
}
Expand Down Expand Up @@ -938,15 +938,15 @@ inline void process_commands()
Serial.println(uuid);
break;
case 114: // M114
Serial.print("X:");
Serial.print("ok C: X:");
Serial.print(current_position[0]);
Serial.print("Y:");
Serial.print(" Y:");
Serial.print(current_position[1]);
Serial.print("Z:");
Serial.print(" Z:");
Serial.print(current_position[2]);
Serial.print("E:");
Serial.print(" E:");
Serial.println(current_position[3]);
break;
return;
case 119: // M119
#if (X_MIN_PIN > -1)
Serial.print("x_min:");
Expand Down Expand Up @@ -991,7 +991,8 @@ inline void process_commands()

}
else{
Serial.println("Unknown command:");
Serial.println("// Unknown command:");
Serial.print("// ");
Serial.println(cmdbuffer[bufindr]);
}

Expand Down