Browse Source

FILAMENT_RUNOUT_SENSOR pullup/pulldown

FB4S_WIFI
Sergey 2 years ago
parent
commit
b22cd49e83
  1. 6
      Marlin/Configuration.h

6
Marlin/Configuration.h

@ -1527,8 +1527,12 @@
#define FIL_RUNOUT_ENABLED_DEFAULT false // Enable the sensor on startup. Override with M412 followed by M500.
#define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
#define FIL_RUNOUT_STATE FIL_RUNOUT_LEVEL // Pin state indicating that filament is NOT present.
#if FIL_RUNOUT_LEVEL==LOW
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
#else
#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
#endif
//#define WATCH_ALL_RUNOUT_SENSORS // Execute runout script on any triggering sensor, not only for the active extruder.
// This is automatically enabled for MIXING_EXTRUDERs.

Loading…
Cancel
Save