-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Hi there,
¿Can someone let me know how to send the command M114 and get the data that returns with printrun?
I know that this is a topic that has been around many timesbut I can't figure out how to get it.
For example, i get the return from command M105 with the following and works perfectly:
p.send_now("M105")
def temp_callback(line):
print(line)
p.tempcb = temp_callback
I tried the same with M114 but doesn't work since that command send the info to the serial...
I also have seen the “New module to synchronously, blocking send gcodes with return” which seems to be able to help on this, but i'm not able to use it.
Also tried to send M114 and read it with the “Serial” library, which works. However i would like to do it just with the printrun library since in order to use “Serial” I have to disconnect “printrun” …
Thanks again for all the help :)