More overridable FIL_RUNOUT_PIN

2.0.x
Scott Lahteine 7 years ago
parent a6563df705
commit aef9e036bf

@ -109,7 +109,9 @@
// //
// Other board specific pins // Other board specific pins
// //
#define FIL_RUNOUT_PIN 37 // board input labeled as F-DET #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 37 // board input labeled as F-DET
#endif
#define Z_MIN_PROBE_PIN 36 // additional external board input labeled as E-SENS (should be used for Z-probe) #define Z_MIN_PROBE_PIN 36 // additional external board input labeled as E-SENS (should be used for Z-probe)
#define LED_PIN 13 #define LED_PIN 13
#define SPINDLE_ENABLE_PIN 4 // additional PWM pin 1 at JP1 connector - should be used for laser control too #define SPINDLE_ENABLE_PIN 4 // additional PWM pin 1 at JP1 connector - should be used for laser control too

@ -91,7 +91,9 @@
// Common I/O // Common I/O
#define FIL_RUNOUT_PIN 18 #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 18
#endif
//#define PWM_1_PIN 12 //#define PWM_1_PIN 12
//#define PWM_2_PIN 13 //#define PWM_2_PIN 13
//#define SPARE_IO 17 //#define SPARE_IO 17

@ -190,19 +190,21 @@
#endif #endif
#ifndef FAN_PIN #ifndef FAN_PIN
#define FAN_PIN P1_18 // (4) IO pin. Buffer needed #define FAN_PIN P1_18 // (4) IO pin. Buffer needed
#endif #endif
// //
// Misc. Functions // Misc. Functions
// //
#define LED_PIN P4_28 // (13) #define LED_PIN P4_28 // (13)
#define SDSS P1_23 // (53) #define SDSS P1_23 // (53)
// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
#define FIL_RUNOUT_PIN P1_18 // (4) #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN P1_18 // (4)
#endif
#define PS_ON_PIN P2_12 // (12) #define PS_ON_PIN P2_12 // (12)
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN) #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
#if !defined(NUM_SERVOS) || NUM_SERVOS < 4 // try to use servo connector #if !defined(NUM_SERVOS) || NUM_SERVOS < 4 // try to use servo connector

Loading…
Cancel
Save