@@ -27,6 +28,12 @@ const bool E_MIN_ENDSTOP_INVERTING = false; // set to true to invert the log
constboolX_MAX_ENDSTOP_INVERTING=false;// set to true to invert the logic of the endstop.
constboolY_MAX_ENDSTOP_INVERTING=false;// set to true to invert the logic of the endstop.
constboolZ_MAX_ENDSTOP_INVERTING=false;// set to true to invert the logic of the endstop.
constboolZ_PROBE_ENDSTOP_INVERTING=false;// set to true to invert the logic of the endstop.
// If you want to enable the Z Probe pin, but disable its use, uncomment the line below.
// This only affects a Z Probe Endstop if you have separate Z min endstop as well and have
// activated Z_PROBE_ENDSTOP below. If you are using the Z Min endstop on your Z Probe,
// this has no effect.
//#define DISABLE_Z_PROBE_ENDSTOP
// ENDSTOP SETTINGS:
// Sets direction of endstop when homing; 1=MAX, -1=MIN
...
...
@@ -153,6 +160,16 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the log
#define PROBE_SERVO_DEACTIVATION_DELAY 300
// Support for a dedicated Z PROBE endstop separate from the Z MIN endstop.
// If you would like to use both a Z PROBE and a Z MIN endstop together or just a Z PROBE with a custom pin, uncomment #define Z_PROBE_ENDSTOP and read the instructions below.
// If you want to still use the Z min endstop for homing, disable Z_SAFE_HOMING above. Eg; to park the head outside the bed area when homing with G28.
// WARNING: The Z MIN endstop will need to set properly as it would without a Z PROBE to prevent head crashes and premature stopping during a print.
// To use a separte Z PROBE endstop, you must have a Z_PROBE_PIN defined in the pins.h file for your control board.
// If you are using a servo based Z PROBE, you will need to enable NUM_SERVOS, SERVO_ENDSTOPS and SERVO_ENDSTOPS_ANGLES in the R/C Servo below.
// WARNING: Setting the wrong pin may have unexpected and potentially disastrous outcomes. Use with caution and do your homework.
@@ -76,7 +76,7 @@ volatile long endstops_stepsTotal, endstops_stepsDone;
staticvolatileboolendstop_x_hit=false;
staticvolatileboolendstop_y_hit=false;
staticvolatileboolendstop_z_hit=false;
staticvolatileboolendstop_z_probe_hit=false;
staticvolatileboolendstop_z_probe_hit=false;// Leaving this in even if Z_PROBE_ENDSTOP isn't defined, keeps code below cleaner. #ifdef it and usage below to save space.
//If we both have a 2nd extruder and a heated bed, show the heated bed temp on the 2nd line on the left, as the first line is filled with extruder temps
tHotend=int(degBed()+0.5);
tTarget=int(degTargetBed()+0.5);
//If we both have a 2nd extruder and a heated bed, show the heated bed temp on the 2nd line on the left, as the first line is filled with extruder temps