Spacing and spelling
This commit is contained in:
		@@ -503,7 +503,7 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -290,4 +290,3 @@ MarlinSerial MSerial;
 | 
			
		||||
#if defined(AT90USB) && defined(BTENABLED)
 | 
			
		||||
  HardwareSerial bt;
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2776,13 +2776,13 @@ inline void gcode_M42() {
 | 
			
		||||
 | 
			
		||||
#if defined(ENABLE_AUTO_BED_LEVELING) && defined(Z_PROBE_REPEATABILITY_TEST)
 | 
			
		||||
 | 
			
		||||
  // This is redudant since the SanityCheck.h already checks for a valid Z_PROBE_PIN, but here for clarity.
 | 
			
		||||
  // This is redundant since the SanityCheck.h already checks for a valid Z_PROBE_PIN, but here for clarity.
 | 
			
		||||
  #ifdef Z_PROBE_ENDSTOP
 | 
			
		||||
    #if !HAS_Z_PROBE
 | 
			
		||||
      #error "You must have a Z_PROBE_PIN defined in order to enable calculation of Z-Probe repeatability."
 | 
			
		||||
      #error You must define Z_PROBE_PIN to enable Z-Probe repeatability calculation.
 | 
			
		||||
    #endif
 | 
			
		||||
  #elif !HAS_Z_MIN
 | 
			
		||||
    #error "You must have a Z_MIN_PIN defined in order to enable calculation of Z-Probe repeatability."
 | 
			
		||||
    #error You must define Z_MIN_PIN to enable Z-Probe repeatability calculation.
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
 
 | 
			
		||||
@@ -123,7 +123,7 @@ class Servo {
 | 
			
		||||
    int read();                        // returns current pulse width as an angle between 0 and 180 degrees
 | 
			
		||||
    int readMicroseconds();            // returns current pulse width in microseconds for this servo (was read_us() in first release)
 | 
			
		||||
    bool attached();                   // return true if this servo is attached, otherwise false
 | 
			
		||||
    #if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
 | 
			
		||||
    #if defined(ENABLE_AUTO_BED_LEVELING) && PROBE_SERVO_DEACTIVATION_DELAY > 0
 | 
			
		||||
      int pin;                           // store the hardware pin of the servo
 | 
			
		||||
    #endif
 | 
			
		||||
  private:
 | 
			
		||||
 
 | 
			
		||||
@@ -523,7 +523,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic o
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -473,7 +473,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -473,7 +473,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -496,7 +496,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -501,7 +501,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -525,7 +525,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -495,7 +495,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -541,7 +541,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -545,7 +545,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic o
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -493,7 +493,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -495,7 +495,7 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
 | 
			
		||||
  // 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.
 | 
			
		||||
  // To use a separate 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.
 | 
			
		||||
  // RAMPS 1.3/1.4 boards may be able to use the 5V, Ground and the D32 pin in the Aux 4 section of the RAMPS board. Use 5V for powered sensors, otherwise connect to ground and D32
 | 
			
		||||
  // for normally closed configuration and 5V and D32 for normally open configurations. Normally closed configuration is advised and assumed.
 | 
			
		||||
 
 | 
			
		||||
@@ -220,8 +220,11 @@
 | 
			
		||||
  #define Z_MIN_PIN          -1
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#define SENSITIVE_PINS { 0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, Z_PROBE_PIN, PS_ON_PIN, \
 | 
			
		||||
                        HEATER_BED_PIN, FAN_PIN, \
 | 
			
		||||
#define SENSITIVE_PINS { 0, 1,
 | 
			
		||||
                        X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, \
 | 
			
		||||
                        Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, \
 | 
			
		||||
                        Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, Z_PROBE_PIN, \
 | 
			
		||||
                        PS_ON_PIN, HEATER_BED_PIN, FAN_PIN, \
 | 
			
		||||
                        _E0_PINS _E1_PINS _E2_PINS _E3_PINS \
 | 
			
		||||
                        analogInputToDigitalPin(TEMP_BED_PIN) \
 | 
			
		||||
                       }
 | 
			
		||||
 
 | 
			
		||||
@@ -62,12 +62,12 @@
 | 
			
		||||
  #define FILWIDTH_PIN        5
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(Z_PROBE_ENDSTOP)
 | 
			
		||||
#ifdef Z_PROBE_ENDSTOP
 | 
			
		||||
  // Define a pin to use as the signal pin on Arduino for the Z_PROBE endstop.
 | 
			
		||||
  #define Z_PROBE_PIN 32
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(FILAMENT_RUNOUT_SENSOR)
 | 
			
		||||
#ifdef FILAMENT_RUNOUT_SENSOR
 | 
			
		||||
  // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
 | 
			
		||||
  #define FILRUNOUT_PIN        4
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user