-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
Hello,
I was not able to make telnet connection to GRBL through TFT work using the current code in master branch.
After some investigation, I managed to have it work with the following fix :
diff --git a/grbl_controller_esp32/com.cpp b/grbl_controller_esp32/com.cpp
index fe49de0..d2499b1 100644
--- a/grbl_controller_esp32/com.cpp
+++ b/grbl_controller_esp32/com.cpp
@@ -454,7 +454,7 @@ void sendToGrbl( void ) {
case PRINTING_FROM_TELNET :
while ( telnetClient.available() && statusPrinting == PRINTING_FROM_TELNET ) {
sdChar = telnetClient.read() ;
- sdChar = Serial.read() ;
+ toGrbl( (char) sdChar ) ;
//Serial2.print( (char) sdChar ) ;
} // end while
break ;
The procedure to apply it is as follow:
- Apply the fix in Arduino IDE
- Compile and upload the new firmware to the TFT Screen
- Unplug your usb cable
- Telnet into the TFT Screen, you should see machine status report printing continuously.
- On the TFT screen, go the print menu and choose telnet connection
- The status report should stop printing on the computer telnet console
- You can now type some GRBL commands, for example $$
I hope this will help others !
Metadata
Metadata
Assignees
Labels
No labels