I want to control the spindle on/off via a relay using the spindle enable pin with M3 and M5. (I am not controlling speed using pwm). I understand that GRBL 0.9 changed the pinout to allow PWM speed control.
I am using GRBL 0.9j. If I comment out the #define VARIABLE_SPINDLE line in config.h, the output appears as expected on D12. However M3 only switches D12 HIGH if I have previously set S to some value other than zero. I expected the 'S' setting to be irrelevant if VARIABLE_SPINDLE...
Using GRBL 0.9 to switch spindle on/off
I am using GRBL 0.9j. If I comment out the #define VARIABLE_SPINDLE line in config.h, the output appears as expected on D12. However M3 only switches D12 HIGH if I have previously set S to some value other than zero. I expected the 'S' setting to be irrelevant if VARIABLE_SPINDLE...
Using GRBL 0.9 to switch spindle on/off