Hi All,
I'm writing a custom print host in Python using PySerial, very similar to Printcore but with some added features.
Currently, I'm sending line-by-line as I receive the 'ok' back from the board which is pretty much instant.
I therefore understand that the lines are getting buffered in the board waiting to be executed.
However, from my python code I need to know which line is currently being executed, how can I do so?
A workaround could be to send a 'M114' but this just gives me coordinates and not line number.
Can someone clarify?
Thanks,
Charles
I'm writing a custom print host in Python using PySerial, very similar to Printcore but with some added features.
Currently, I'm sending line-by-line as I receive the 'ok' back from the board which is pretty much instant.
I therefore understand that the lines are getting buffered in the board waiting to be executed.
However, from my python code I need to know which line is currently being executed, how can I do so?
A workaround could be to send a 'M114' but this just gives me coordinates and not line number.
Can someone clarify?
Thanks,
Charles