Hi people!
I have
developed a plugin for Repeteir-Host, visualize a webcam integrated into my
printer. So, I would like to invent a command, as “M789”, to take a photo through
my plugin.
How can I link
the command “M789” to execute a “function” from my plugin? In other words, I
would like to: Repetier-Host read and execute the GCODE line per line; when its
find the command “M789”, it stops the print, the plugin takes a photo, and it
resumes the print.
Thanks!