Add NUM_RUNOUT_SENSORS to example configs
This commit is contained in:
		@@ -973,15 +973,16 @@
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Filament Runout Sensor
 | 
			
		||||
 * A mechanical or opto endstop is used to check for the presence of filament.
 | 
			
		||||
 * Filament Runout Sensors
 | 
			
		||||
 * Mechanical or opto endstops are used to check for the presence of filament.
 | 
			
		||||
 *
 | 
			
		||||
 * RAMPS-based boards use SERVO3_PIN.
 | 
			
		||||
 * For other boards you may need to define FIL_RUNOUT_PIN.
 | 
			
		||||
 * By default the firmware assumes HIGH = has filament, LOW = ran out
 | 
			
		||||
 * RAMPS-based boards use SERVO3_PIN for the first runout sensor.
 | 
			
		||||
 * For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
 | 
			
		||||
 * By default the firmware assumes HIGH=FILAMENT PRESENT.
 | 
			
		||||
 */
 | 
			
		||||
//#define FILAMENT_RUNOUT_SENSOR
 | 
			
		||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
 | 
			
		||||
  #define NUM_RUNOUT_SENSORS   1     // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
 | 
			
		||||
  #define FIL_RUNOUT_INVERTING false // set to true to invert the logic of the sensor.
 | 
			
		||||
  #define FIL_RUNOUT_PULLUP          // Use internal pullup for filament runout pins.
 | 
			
		||||
  //#define FIL_RUNOUT_PULLDOWN      // Use internal pulldown for filament runout pins.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user