0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-31 14:12:52 +00:00

🔧 Safer default for Z_MIN_PROBE_PIN override (#25524)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
ellensp 2023-03-16 18:42:52 +13:00 committed by GitHub
parent 32c7e24b4b
commit 41b3409ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1345,19 +1345,17 @@
/** /**
* Z_MIN_PROBE_PIN * Z_MIN_PROBE_PIN
* *
* Define this pin if the probe is not connected to Z_MIN_PIN. * Override this pin only if the probe cannot be connected to
* If not defined the default pin for the selected MOTHERBOARD * the default Z_MIN_PROBE_PIN for the selected MOTHERBOARD.
* will be used. Most of the time the default is what you want.
* *
* - The simplest option is to use a free endstop connector. * - The simplest option is to use a free endstop connector.
* - Use 5V for powered (usually inductive) sensors. * - 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...
* - For simple switches connect... * - Normally-closed (NC) also connect to GND.
* - normally-closed switches to GND and D32. * - Normally-open (NO) also connect to 5V.
* - normally-open switches to 5V and D32.
*/ */
//#define Z_MIN_PROBE_PIN 32 // Pin 32 is the RAMPS default //#define Z_MIN_PROBE_PIN -1
/** /**
* Probe Type * Probe Type