Hi,
I am making a 3D printer and for that purpose I am using grbl on my Arduino UNO. I have uploaded the grbl .hex file on the controller 328p. It seems to work fine. For sending the gcode to the controller I am using the Gcode sender program. The problem is that the G commands are being streamed to the controller perfectly but the problem is in the Mcommands which give an error and do not get streamed. I am getting errors at M103, M104, M101, in fact all the M commands. Why is that?
Another problem is that how to control the extruder through grbl. In config.h file PORTB of the controller has been specified as the Spindle direction and enable control port but does it really work? if it works then why are the M commands that are for extruder control not getting streamed?