|
|
|
@ -37,14 +37,33 @@
|
|
|
|
|
//
|
|
|
|
|
// RAMPS pins overrides
|
|
|
|
|
//
|
|
|
|
|
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
|
|
|
|
|
#define CASE_LIGHT_PIN 44
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Servos
|
|
|
|
|
//
|
|
|
|
|
// Tested this pin with bed leveling on a Delta with 1 servo.
|
|
|
|
|
// Physical wire attachment on EXT1: GND, 5V, D47.
|
|
|
|
|
//
|
|
|
|
|
#define SERVO0_PIN 47
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Limit Switches
|
|
|
|
|
//
|
|
|
|
|
#define X_STOP_PIN 3
|
|
|
|
|
#define Y_STOP_PIN 14
|
|
|
|
|
#define Z_STOP_PIN 18
|
|
|
|
|
|
|
|
|
|
#ifndef FAN_PIN
|
|
|
|
|
#define FAN_PIN 6
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
|
|
|
|
|
#define CASE_LIGHT_PIN 44
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Import RAMPS 1.4 pins
|
|
|
|
|
//
|
|
|
|
|
#include "pins_RAMPS.h"
|
|
|
|
|
|
|
|
|
|
// DIGIPOT slave addresses
|
|
|
|
@ -55,37 +74,6 @@
|
|
|
|
|
#define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1)
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Servos
|
|
|
|
|
//
|
|
|
|
|
// Tested this pin with bed leveling on a Delta with 1 servo.
|
|
|
|
|
// Physical wire attachment on EXT1: GND, 5V, D47.
|
|
|
|
|
//
|
|
|
|
|
#undef SERVO0_PIN
|
|
|
|
|
#define SERVO0_PIN 47
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Limit Switches
|
|
|
|
|
//
|
|
|
|
|
// Swap the MIN and MAX endstop pins because the X3 Pro comes with only
|
|
|
|
|
// MIN endstop pin headers soldered onto the board.
|
|
|
|
|
//
|
|
|
|
|
#if ENABLED(DELTA)
|
|
|
|
|
#undef X_MIN_PIN
|
|
|
|
|
#undef X_MAX_PIN
|
|
|
|
|
#undef Y_MIN_PIN
|
|
|
|
|
#undef Y_MAX_PIN
|
|
|
|
|
#undef Z_MIN_PIN
|
|
|
|
|
#undef Z_MAX_PIN
|
|
|
|
|
|
|
|
|
|
#define X_MIN_PIN 2
|
|
|
|
|
#define X_MAX_PIN 3
|
|
|
|
|
#define Y_MIN_PIN 15
|
|
|
|
|
#define Y_MAX_PIN 14
|
|
|
|
|
#define Z_MIN_PIN 19
|
|
|
|
|
#define Z_MAX_PIN 18
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Z Probe (when not Z_MIN_PIN)
|
|
|
|
|
//
|
|
|
|
|