I have a simple GCode that appears to have different behavior depending on the use of a switch.
The Gcode is as follows:
M106 G1 A360.0 Y0.200 E3 F21599.999999968964 M106 G1 A360.0 Y0.200 E3 F21518.336483901028 M106 G1 A360.0 Y0.200 E3 F21437.288135562419 M106 G1 A360.0 Y0.200 E3 F21356.848029988076 M106 G1 A360.0 Y0.200 E3 F21277.009345763821
This should siply rotate the A axis 360, move the Y axis 0.2mm, and extrude 3mm of filament at a feedrate around 21000 mm/min.
Everything is as it should be except, when I have M106 on the line it creates a short delay between each line.
When M106 is not on the line, there is no delay in between excuting each line of code.
Does Smoothie implement a delay for activating switches?
Can this be modified?
The pins I’m using are P1.30 and P1.31.
I am trying to use the switch as a digital switch (on/off) and wanting to trigger something each layer of material that is laid down, that is why we have the M106 on each line.