Hi All,
I need some help, I want to use the three control pins A0, A1 and A2 so I can stop, pause and resume my CNC from a small control box next to the machine, all good so far apart from my E-Stop button only has NC contacts so I need to invert the A0 input so the machine stop when it has no input, but I want to keep A1 and A2 so that they only pause and resume on input??
Can this be gone in the config.h file of GRBL?
// Inverts pin logic of the control command pins based on a mask. This essentially means you can use
// normally-closed switches on the specified pins, rather than the default normally-open switches.
// NOTE: The top option will mask and invert all control pins. The bottom option is an example of
// inverting only two control pins, the safety door and reset. See cpu_map.h for other bit definitions.
// #define INVERT_CONTROL_PIN_MASK CONTROL_MASK // Default disabled. Uncomment to disable.
// #define INVERT_CONTROL_PIN_MASK ((1<<CONTROL_SAFETY_DOOR_BIT)|(1<<CONTROL_RESET_BIT)) // Default disabled.