Skip to content

Commit

Permalink
🔧 Safer default for Z_MIN_PROBE_PIN override (MarlinFirmware#25524)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
  • Loading branch information
2 people authored and EvilGremlin committed May 17, 2023
1 parent a3165a9 commit 63457d1
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -1345,19 +1345,17 @@
/**
* Z_MIN_PROBE_PIN
*
* Define this pin if the probe is not connected to Z_MIN_PIN.
* If not defined the default pin for the selected MOTHERBOARD
* will be used. Most of the time the default is what you want.
* Override this pin only if the probe cannot be connected to
* the default Z_MIN_PROBE_PIN for the selected MOTHERBOARD.
*
* - The simplest option is to use a free endstop connector.
* - Use 5V for powered (usually inductive) sensors.
*
* - RAMPS 1.3/1.4 boards may use the 5V, GND, and Aux4->D32 pin:
* - For simple switches connect...
* - normally-closed switches to GND and D32.
* - normally-open switches to 5V and D32.
* - For simple switches...
* - Normally-closed (NC) also connect to GND.
* - Normally-open (NO) also connect to 5V.
*/
//#define Z_MIN_PROBE_PIN 32 // Pin 32 is the RAMPS default
//#define Z_MIN_PROBE_PIN -1

/**
* Probe Type
Expand Down

0 comments on commit 63457d1

Please sign in to comment.