📌 Overridable probe-related pins (#23107)

This commit is contained in:
Keith Bennett 2021-11-17 09:33:42 -08:00 committed by Scott Lahteine
parent 6e284f8823
commit 2a90d93b17
5 changed files with 19 additions and 6 deletions

View file

@ -70,9 +70,14 @@
//
// Probe
//
#define PROBE_TARE_PIN PA1
#ifndef PROBE_TARE_PIN
#define PROBE_TARE_PIN PA1
#endif
#if ENABLED(PROBE_ACTIVATION_SWITCH)
#define PROBE_ACTIVATION_SWITCH_PIN PC2 // Optoswitch to Enable Z Probe
#ifndef PROBE_ACTIVATION_SWITCH_PIN
#define PROBE_ACTIVATION_SWITCH_PIN PC2 // Optoswitch to Enable Z Probe
#endif
#endif
//

View file

@ -36,7 +36,9 @@
#define FAN_PIN PA0 // FAN
#if ENABLED(PROBE_ACTIVATION_SWITCH)
#define PROBE_ACTIVATION_SWITCH_PIN PC6 // Optoswitch to Enable Z Probe
#ifndef PROBE_ACTIVATION_SWITCH_PIN
#define PROBE_ACTIVATION_SWITCH_PIN PC6 // Optoswitch to Enable Z Probe
#endif
#endif
#include "pins_CREALITY_V45x.h"

View file

@ -36,7 +36,9 @@
#define FAN_PIN PB15 // FAN
#if ENABLED(PROBE_ACTIVATION_SWITCH)
#define PROBE_ACTIVATION_SWITCH_PIN PB2 // Optoswitch to Enable Z Probe
#ifndef PROBE_ACTIVATION_SWITCH_PIN
#define PROBE_ACTIVATION_SWITCH_PIN PB2 // Optoswitch to Enable Z Probe
#endif
#endif
#include "pins_CREALITY_V45x.h"

View file

@ -64,7 +64,9 @@
//
// Probe
//
#define PROBE_TARE_PIN PA5
#ifndef PROBE_TARE_PIN
#define PROBE_TARE_PIN PA5
#endif
//
// Steppers

View file

@ -136,7 +136,9 @@
// Probe enable
//
#if ENABLED(PROBE_ENABLE_DISABLE)
#define PROBE_ENABLE_PIN SERVO0_PIN
#ifndef PROBE_ENABLE_PIN
#define PROBE_ENABLE_PIN SERVO0_PIN
#endif
#endif
//