From aef23c9637f8ae477d8e00345939ad15ec2845c8 Mon Sep 17 00:00:00 2001 From: Mitchell Abbott Date: Sat, 17 Mar 2018 16:40:15 -0500 Subject: [PATCH] [1.1.x] Update X/Y/Z pin assignments for Einsy Rambo (#10131) --- Marlin/pins_EINSY_RAMBO.h | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/Marlin/pins_EINSY_RAMBO.h b/Marlin/pins_EINSY_RAMBO.h index 679f31ed3c..c6da8ea658 100644 --- a/Marlin/pins_EINSY_RAMBO.h +++ b/Marlin/pins_EINSY_RAMBO.h @@ -49,13 +49,36 @@ // // Limit Switches // -#define X_MIN_PIN 64 //12 +// Only use Diag Pins when SENSORLESS_HOMING is enabled for the TMC2130 drivers. +// Otherwise use a physical endstop based configuration. +// +// SERVO0_PIN and Z_MIN_PIN configuration for BLTOUCH sensor when combined with SENSORLESS_HOMING. +// + #define X_MAX_PIN -1 -#define Y_MIN_PIN 69 //11 #define Y_MAX_PIN -1 -#define Z_MIN_PIN 68 //10 #define Z_MAX_PIN -1 +#if DISABLED(SENSORLESS_HOMING) + + #define X_MIN_PIN 12 + #define Y_MIN_PIN 11 + #define Z_MIN_PIN 10 + +#else + + #define X_MIN_PIN X_DIAG_PIN + #define Y_MIN_PIN Y_DIAG_PIN + + #if ENABLED(BLTOUCH) + #define Z_MIN_PIN 11 // Y-MIN + #define SERVO0_PIN 10 // Z-MIN + #else + #define Z_MIN_PIN 10 + #endif + +#endif + // // Z Probe (when not Z_MIN_PIN) //