Tool sensors (#17239)

This commit is contained in:
MangaValk
2021-04-16 15:02:31 +02:00
committed by GitHub
parent 73f6426114
commit 553487cc8a
7 changed files with 174 additions and 28 deletions

View File

@ -38,17 +38,21 @@
// USB Flash Drive support
#define HAS_OTG_USB_HOST_SUPPORT
#define TP // Enable to define servo and probe pins
#define M5_EXTENDER // The M5 extender is attached
//
// Servos
//
#if ENABLED(TP)
#define SERVO0_PIN PB11
#endif
#define SERVO0_PIN PB11 // BLTOUCH
#define SOL0_PIN PC7 // Toolchanger
#define PS_ON_PIN PH6
#if ENABLED(TOOL_SENSOR)
#define TOOL_SENSOR1_PIN PH6
#define TOOL_SENSOR2_PIN PI4
//#define TOOL_SENSOR3_PIN PF4
#else
#define PS_ON_PIN PH6
#endif
//
// Trinamic Stallguard pins
@ -110,7 +114,7 @@
#define Z4_STOP_PIN PF6 // M5 M3_STOP
#endif
#if ENABLED(TP) && !defined(Z_MIN_PROBE_PIN)
#ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN PH11 // Z Probe must be PH11
#endif