diff --git a/grbl/cpu_map.h b/grbl/cpu_map.h index c93b420..07a902a 100644 --- a/grbl/cpu_map.h +++ b/grbl/cpu_map.h @@ -534,10 +534,11 @@ #define CONTROL_INVERT_MASK CONTROL_MASK // May be re-defined to only invert certain control pins. // Define probe switch input pin. - #define PROBE_DDR NotUsed - #define PROBE_PIN NotUsed - #define PROBE_PORT NotUsed - #define PROBE_BIT 5 // Uno Analog Pin 5 + // Borrow Y Max limit port for probe + #define PROBE_DDR LPC_GPIO1->FIODIR + #define PROBE_PIN LPC_GPIO1->FIOPIN + #define PROBE_PORT LPC_GPIO1->FIOPIN + #define PROBE_BIT 27 // borrowing y-max pin #define PROBE_MASK (1<