Clean up some pins

This commit is contained in:
Scott Lahteine 2020-12-21 17:36:15 -06:00
parent b799d0d073
commit 023ef753b9
4 changed files with 28 additions and 32 deletions

View File

@ -48,20 +48,20 @@
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN PC1 // "X-STOP" #define X_STOP_PIN PC1 // X-STOP
#define Y_STOP_PIN PC0 // "Y-STOP" #define Y_STOP_PIN PC0 // Y-STOP
#define Z_STOP_PIN PC15 // "Z-STOP" #define Z_STOP_PIN PC15 // Z-STOP
// //
// Z Probe must be this pin // Z Probe must be this pin
// //
#define Z_MIN_PROBE_PIN PC14 // "PROBE" #define Z_MIN_PROBE_PIN PC14 // PROBE
// //
// Filament Runout Sensor // Filament Runout Sensor
// //
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN PC2 // "E0-STOP" #define FIL_RUNOUT_PIN PC2 // E0-STOP
#endif #endif
// //

View File

@ -41,25 +41,25 @@
// //
// Servos // Servos
// //
#define SERVO0_PIN PA1 // "SERVOS" #define SERVO0_PIN PA1 // SERVOS
// //
// Limit Switches // Limit Switches
// //
#define X_STOP_PIN PC0 // "X-STOP" #define X_STOP_PIN PC0 // X-STOP
#define Y_STOP_PIN PC1 // "Y-STOP" #define Y_STOP_PIN PC1 // Y-STOP
#define Z_STOP_PIN PC2 // "Z-STOP" #define Z_STOP_PIN PC2 // Z-STOP
// //
// Z Probe must be this pin // Z Probe must be this pin
// //
#define Z_MIN_PROBE_PIN PC14 // "PROBE" #define Z_MIN_PROBE_PIN PC14 // PROBE
// //
// Filament Runout Sensor // Filament Runout Sensor
// //
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN PC15 // "E0-STOP" #define FIL_RUNOUT_PIN PC15 // E0-STOP
#endif #endif
// //

View File

@ -117,11 +117,7 @@
* Several wiring options are provided below, defaulting to * Several wiring options are provided below, defaulting to
* to the most compatible. * to the most compatible.
*/ */
#if HAS_TMC_UART
//
// Drivers
//
#if HAS_TMC220x
// SoftwareSerial with one pin per driver // SoftwareSerial with one pin per driver
// Compatible with TMC2208 and TMC2209 drivers // Compatible with TMC2208 and TMC2209 drivers
#define X_SERIAL_TX_PIN PA10 // RXD1 #define X_SERIAL_TX_PIN PA10 // RXD1
@ -140,7 +136,7 @@
#define DEFAULT_PWM_MOTOR_CURRENT { 800, 800, 800 } #define DEFAULT_PWM_MOTOR_CURRENT { 800, 800, 800 }
#endif #endif
/** /**
* MKS Robin_Wifi or another ESP8266 module * MKS Robin_Wifi or another ESP8266 module
* *
* __ESP(M1)__ -J1- * __ESP(M1)__ -J1-

View File

@ -82,7 +82,7 @@
#define E0_DIR_PIN PB3 #define E0_DIR_PIN PB3
#define E0_ENABLE_PIN PB5 #define E0_ENABLE_PIN PB5
#if HAS_TMC220x #if HAS_TMC_UART
/** /**
* TMC2208/TMC2209 stepper drivers * TMC2208/TMC2209 stepper drivers
* *