Merge pull request #4097 from thinkyhead/rc_fil_runout_cleanup
FIL_RUNOUT_INVERTING false by default
This commit is contained in:
commit
9beb3f2f5e
@ -643,7 +643,7 @@
|
|||||||
#define HAS_SERVO_2 (PIN_EXISTS(SERVO2))
|
#define HAS_SERVO_2 (PIN_EXISTS(SERVO2))
|
||||||
#define HAS_SERVO_3 (PIN_EXISTS(SERVO3))
|
#define HAS_SERVO_3 (PIN_EXISTS(SERVO3))
|
||||||
#define HAS_FILAMENT_WIDTH_SENSOR (PIN_EXISTS(FILWIDTH))
|
#define HAS_FILAMENT_WIDTH_SENSOR (PIN_EXISTS(FILWIDTH))
|
||||||
#define HAS_FILRUNOUT (PIN_EXISTS(FILRUNOUT))
|
#define HAS_FIL_RUNOUT (PIN_EXISTS(FIL_RUNOUT))
|
||||||
#define HAS_HOME (PIN_EXISTS(HOME))
|
#define HAS_HOME (PIN_EXISTS(HOME))
|
||||||
#define HAS_KILL (PIN_EXISTS(KILL))
|
#define HAS_KILL (PIN_EXISTS(KILL))
|
||||||
#define HAS_SUICIDE (PIN_EXISTS(SUICIDE))
|
#define HAS_SUICIDE (PIN_EXISTS(SUICIDE))
|
||||||
|
@ -585,7 +585,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -689,9 +689,9 @@ void setup_killpin() {
|
|||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
|
|
||||||
void setup_filrunoutpin() {
|
void setup_filrunoutpin() {
|
||||||
pinMode(FILRUNOUT_PIN, INPUT);
|
pinMode(FIL_RUNOUT_PIN, INPUT);
|
||||||
#if ENABLED(ENDSTOPPULLUP_FIL_RUNOUT)
|
#if ENABLED(ENDSTOPPULLUP_FIL_RUNOUT)
|
||||||
WRITE(FILRUNOUT_PIN, HIGH);
|
WRITE(FIL_RUNOUT_PIN, HIGH);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8167,7 +8167,7 @@ void idle(
|
|||||||
void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
|
void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
|
||||||
|
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
if (IS_SD_PRINTING && !(READ(FILRUNOUT_PIN) ^ FIL_RUNOUT_INVERTING))
|
if (IS_SD_PRINTING && !(READ(FIL_RUNOUT_PIN) ^ FIL_RUNOUT_INVERTING))
|
||||||
handle_filament_runout();
|
handle_filament_runout();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -128,8 +128,8 @@
|
|||||||
* Filament Runout needs a pin and SD Support
|
* Filament Runout needs a pin and SD Support
|
||||||
*/
|
*/
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
#if !HAS_FILRUNOUT
|
#if !HAS_FIL_RUNOUT
|
||||||
#error "FILAMENT_RUNOUT_SENSOR requires FILRUNOUT_PIN."
|
#error "FILAMENT_RUNOUT_SENSOR requires FIL_RUNOUT_PIN."
|
||||||
#elif DISABLED(SDSUPPORT)
|
#elif DISABLED(SDSUPPORT)
|
||||||
#error "FILAMENT_RUNOUT_SENSOR requires SDSUPPORT."
|
#error "FILAMENT_RUNOUT_SENSOR requires SDSUPPORT."
|
||||||
#endif
|
#endif
|
||||||
|
@ -584,7 +584,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -567,7 +567,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -565,7 +565,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -577,7 +577,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -579,7 +579,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -602,7 +602,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -585,7 +585,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -579,7 +579,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -593,7 +593,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -606,7 +606,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -577,7 +577,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -585,7 +585,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -664,7 +664,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -658,7 +658,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -661,7 +661,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -655,7 +655,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -656,7 +656,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -588,7 +588,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -575,7 +575,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
// It is assumed that when logic high = filament available
|
// It is assumed that when logic high = filament available
|
||||||
// when logic low = filament ran out
|
// when logic low = filament ran out
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
const bool FIL_RUNOUT_INVERTING = true; // Should be uncommented and true or false should assigned
|
const bool FIL_RUNOUT_INVERTING = false; // set to true to invert the logic of the sensor.
|
||||||
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
#define ENDSTOPPULLUP_FIL_RUNOUT // Uncomment to use internal pullup for filament runout pins if the sensor is defined.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
//common I/O
|
//common I/O
|
||||||
|
|
||||||
//#define TEMP_CHAMBER_PIN 13 // ANALOG INPUT !!
|
//#define TEMP_CHAMBER_PIN 13 // ANALOG INPUT !!
|
||||||
#define FILRUNOUT_PIN 18
|
#define FIL_RUNOUT_PIN 18
|
||||||
//#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
|
||||||
|
@ -99,7 +99,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// 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 FILRUNOUT_PIN 4
|
#define FIL_RUNOUT_PIN 4
|
||||||
|
|
||||||
#if MB(RAMPS_14_EFF) || MB(RAMPS_13_EFF) || ENABLED(IS_RAMPS_EFB)
|
#if MB(RAMPS_14_EFF) || MB(RAMPS_13_EFF) || ENABLED(IS_RAMPS_EFB)
|
||||||
#define FAN_PIN 9 // (Sprinter config)
|
#define FAN_PIN 9 // (Sprinter config)
|
||||||
|
Loading…
Reference in New Issue
Block a user