Undesired behavior with endstops swapped

I made my changes to swap MIN and MAX endstops on the Azteeg X3 Pro the
option rather than the default to fix unexpected reversal.
This commit is contained in:
Natealus 2015-03-29 00:42:12 -06:00
parent 18245c6cd2
commit 15028e9b08

View File

@ -16,23 +16,21 @@
//
//This section is to swap the MIN and MAX pins because the X3 Pro comes with only
//MIN endstops soldered onto the board. Delta code wants the homing endstops to be
//the MAX so I swapped them here. Comment them out with // if you want them original.
//Note: I had to solder on the additional MAX Endstop pins to attach a Z-Probe
//endstop switch.
//the MAX so I swapped them here. UnComment the section below if you want this change.
//
#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
//#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
//
#define E2_STEP_PIN 23
@ -88,26 +86,3 @@
#endif
#endif
#endif
//LCD Pins//
#if defined(VIKI2) || defined(miniVIKI)
#define BEEPER 33
// Pins for DOGM SPI LCD Support
#define DOGLCD_A0 44
#define DOGLCD_CS 45
#define LCD_SCREEN_ROT_180
//The encoder and click button
#define BTN_EN1 22
#define BTN_EN2 7
#define BTN_ENC 39 //the click switch
#define SDSS 53
#define SDCARDDETECT 49
#define KILL_PIN 31
#define STAT_LED_RED 32
#define STAT_LED_BLUE 35
#endif