|
|
|
@ -127,9 +127,28 @@
|
|
|
|
|
//=============================Mechanical Settings===========================
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
|
|
// Endstop Settings
|
|
|
|
|
// corse Endstop Settings
|
|
|
|
|
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
|
|
|
|
|
|
|
|
|
#ifndef ENDSTOPPULLUPS
|
|
|
|
|
// fine Enstop settings: Individual Pullups. will be ignord if ENDSTOPPULLUPS is defined
|
|
|
|
|
#define ENDSTOPPULLUP_XMAX
|
|
|
|
|
#define ENDSTOPPULLUP_YMAX
|
|
|
|
|
#define ENDSTOPPULLUP_ZMAX
|
|
|
|
|
#define ENDSTOPPULLUP_XMIN
|
|
|
|
|
#define ENDSTOPPULLUP_YMIN
|
|
|
|
|
//#define ENDSTOPPULLUP_ZMIN
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifdef ENDSTOPPULLUPS
|
|
|
|
|
#define ENDSTOPPULLUP_XMAX
|
|
|
|
|
#define ENDSTOPPULLUP_YMAX
|
|
|
|
|
#define ENDSTOPPULLUP_ZMAX
|
|
|
|
|
#define ENDSTOPPULLUP_XMIN
|
|
|
|
|
#define ENDSTOPPULLUP_YMIN
|
|
|
|
|
#define ENDSTOPPULLUP_ZMIN
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
|
|
|
|
|
const bool X_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
|
|
|
|
|
const bool Y_ENDSTOPS_INVERTING = true; // set to true to invert the logic of the endstops.
|
|
|
|
|