gnea / grbl-Mega

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560
https://github.com/gnea/grbl/wiki
Other
491 stars 226 forks source link

How to add custom M-codes to set pin high or low ? #98

Open sinfocomp opened 5 years ago

sinfocomp commented 5 years ago

i want to add custom Machine code to set a pin high or low, is there any info on how to do this ?

toozinger commented 4 years ago

@sinfocomp: I am wondering this as well. I have been trying to find any gcode interpreter which allows custom m-code creation in order to turn on or set output pins. Have you found any version of GRBL or otherwise which allows this?

MARIOBASZ commented 4 years ago

if it is possible to add a new M command, I must look as I have done, you must add lines in two files. I implemented it for a project that I hope will soon come to light (it takes more than 9 months)

iacopo commented 4 years ago

I'm interested in this too!