Hi,
I have an ANET A8 3D Printer running Marlin 1.1.x. I'm using a Raspberry Pi to use serial communication for the 3D Printer for my school project. I was able to send GCodes properly to the 3D Printer but I couldn't interpret the printer response correctly. It always gives me a character within quotes preceded by b (E.g. b's'). If I decode the message using decode() I get a single digit response which is the same without the letter b and the quotes ( E.g. b's' is decoded to s). I have attached my output response. I read somewhere that the Printer gives 'ok' as response but all I get is 's' during idle statements and when I pass some GCode and get a response, it is some random letter. Also, I receive the same response when I pass in M114 to get the extruder position. Is there something I'm missing.
I have an ANET A8 3D Printer running Marlin 1.1.x. I'm using a Raspberry Pi to use serial communication for the 3D Printer for my school project. I was able to send GCodes properly to the 3D Printer but I couldn't interpret the printer response correctly. It always gives me a character within quotes preceded by b (E.g. b's'). If I decode the message using decode() I get a single digit response which is the same without the letter b and the quotes ( E.g. b's' is decoded to s). I have attached my output response. I read somewhere that the Printer gives 'ok' as response but all I get is 's' during idle statements and when I pass some GCode and get a response, it is some random letter. Also, I receive the same response when I pass in M114 to get the extruder position. Is there something I'm missing.