Merge remote-tracking branch 'origin/pr-lite-st7920-status' into pr-lite-st7920-status
This commit is contained in:
commit
13176dfe2f
@ -258,10 +258,10 @@ script:
|
|||||||
# Most I2C configurations are failing at the moment because they require
|
# Most I2C configurations are failing at the moment because they require
|
||||||
# a different Liquid Crystal library "LiquidTWI2".
|
# a different Liquid Crystal library "LiquidTWI2".
|
||||||
#
|
#
|
||||||
# LCD_I2C_SAINSMART_YWROBOT
|
# LCD_SAINSMART_I2C_1602
|
||||||
#
|
#
|
||||||
#- restore_configs
|
#- restore_configs
|
||||||
#- opt_enable LCD_I2C_SAINSMART_YWROBOT
|
#- opt_enable LCD_SAINSMART_I2C_1602
|
||||||
#- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
#- build_marlin_pio ${TRAVIS_BUILD_DIR} ${TEST_PLATFORM}
|
||||||
#
|
#
|
||||||
# LCD_I2C_PANELOLU2
|
# LCD_I2C_PANELOLU2
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1588,12 +1602,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -149,7 +149,6 @@ extern "C" {
|
|||||||
#define _CAT(a, ...) a ## __VA_ARGS__
|
#define _CAT(a, ...) a ## __VA_ARGS__
|
||||||
#define HAL_timer_set_compare(timer, compare) (_CAT(TIMER_OCR_, timer) = compare)
|
#define HAL_timer_set_compare(timer, compare) (_CAT(TIMER_OCR_, timer) = compare)
|
||||||
#define HAL_timer_get_compare(timer) _CAT(TIMER_OCR_, timer)
|
#define HAL_timer_get_compare(timer) _CAT(TIMER_OCR_, timer)
|
||||||
#define HAL_timer_set_count(timer, count) (_CAT(TIMER_COUNTER_, timer) = count)
|
|
||||||
#define HAL_timer_get_count(timer) _CAT(TIMER_COUNTER_, timer)
|
#define HAL_timer_get_count(timer) _CAT(TIMER_COUNTER_, timer)
|
||||||
|
|
||||||
#define HAL_timer_isr_prologue(timer_num)
|
#define HAL_timer_isr_prologue(timer_num)
|
||||||
|
@ -101,11 +101,6 @@ FORCE_INLINE static hal_timer_t HAL_timer_get_compare(const uint8_t timer_num) {
|
|||||||
return pConfig->pTimerRegs->TC_CHANNEL[pConfig->channel].TC_RC;
|
return pConfig->pTimerRegs->TC_CHANNEL[pConfig->channel].TC_RC;
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCE_INLINE static void HAL_timer_set_count(const uint8_t timer_num, const hal_timer_t count) {
|
|
||||||
const tTimerConfig * const pConfig = &TimerConfig[timer_num];
|
|
||||||
pConfig->pTimerRegs->TC_CHANNEL[pConfig->channel].TC_CV = count;
|
|
||||||
}
|
|
||||||
|
|
||||||
FORCE_INLINE static hal_timer_t HAL_timer_get_count(const uint8_t timer_num) {
|
FORCE_INLINE static hal_timer_t HAL_timer_get_count(const uint8_t timer_num) {
|
||||||
const tTimerConfig * const pConfig = &TimerConfig[timer_num];
|
const tTimerConfig * const pConfig = &TimerConfig[timer_num];
|
||||||
return pConfig->pTimerRegs->TC_CHANNEL[pConfig->channel].TC_CV;
|
return pConfig->pTimerRegs->TC_CHANNEL[pConfig->channel].TC_CV;
|
||||||
|
@ -59,10 +59,10 @@ public:
|
|||||||
FORCE_INLINE static int rxMaxEnqueued() { return 0; }
|
FORCE_INLINE static int rxMaxEnqueued() { return 0; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static FORCE_INLINE void write(const char* str) { while (*str) write(*str++); }
|
FORCE_INLINE static void write(const char* str) { while (*str) write(*str++); }
|
||||||
static FORCE_INLINE void write(const uint8_t* buffer, size_t size) { while (size--) write(*buffer++); }
|
FORCE_INLINE static void write(const uint8_t* buffer, size_t size) { while (size--) write(*buffer++); }
|
||||||
static FORCE_INLINE void print(const String& s) { for (int i = 0; i < (int)s.length(); i++) write(s[i]); }
|
FORCE_INLINE static void print(const String& s) { for (int i = 0; i < (int)s.length(); i++) write(s[i]); }
|
||||||
static FORCE_INLINE void print(const char* str) { write(str); }
|
FORCE_INLINE static void print(const char* str) { write(str); }
|
||||||
|
|
||||||
static void print(char, int = 0);
|
static void print(char, int = 0);
|
||||||
static void print(unsigned char, int = 0);
|
static void print(unsigned char, int = 0);
|
||||||
|
@ -110,13 +110,6 @@ FORCE_INLINE static hal_timer_t HAL_timer_get_compare(const uint8_t timer_num) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCE_INLINE static void HAL_timer_set_count(const uint8_t timer_num, const hal_timer_t count) {
|
|
||||||
switch (timer_num) {
|
|
||||||
case 0: LPC_TIM0->TC = count; break;
|
|
||||||
case 1: LPC_TIM1->TC = count; break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
FORCE_INLINE static hal_timer_t HAL_timer_get_count(const uint8_t timer_num) {
|
FORCE_INLINE static hal_timer_t HAL_timer_get_count(const uint8_t timer_num) {
|
||||||
switch (timer_num) {
|
switch (timer_num) {
|
||||||
case 0: return LPC_TIM0->TC;
|
case 0: return LPC_TIM0->TC;
|
||||||
|
@ -71,7 +71,7 @@ extern "C" void delay(const int msec) {
|
|||||||
|
|
||||||
// IO functions
|
// IO functions
|
||||||
// As defined by Arduino INPUT(0x0), OUPUT(0x1), INPUT_PULLUP(0x2)
|
// As defined by Arduino INPUT(0x0), OUPUT(0x1), INPUT_PULLUP(0x2)
|
||||||
void pinMode(pin_t pin, uint8_t mode) {
|
void pinMode(const pin_t pin, const uint8_t mode) {
|
||||||
if (!VALID_PIN(pin)) return;
|
if (!VALID_PIN(pin)) return;
|
||||||
|
|
||||||
PINSEL_CFG_Type config = { LPC1768_PIN_PORT(pin),
|
PINSEL_CFG_Type config = { LPC1768_PIN_PORT(pin),
|
||||||
@ -79,23 +79,24 @@ void pinMode(pin_t pin, uint8_t mode) {
|
|||||||
PINSEL_FUNC_0,
|
PINSEL_FUNC_0,
|
||||||
PINSEL_PINMODE_TRISTATE,
|
PINSEL_PINMODE_TRISTATE,
|
||||||
PINSEL_PINMODE_NORMAL };
|
PINSEL_PINMODE_NORMAL };
|
||||||
switch(mode) {
|
switch (mode) {
|
||||||
case INPUT:
|
case INPUT:
|
||||||
LPC_GPIO(LPC1768_PIN_PORT(pin))->FIODIR &= ~LPC_PIN(LPC1768_PIN_PIN(pin));
|
LPC_GPIO(LPC1768_PIN_PORT(pin))->FIODIR &= ~LPC_PIN(LPC1768_PIN_PIN(pin));
|
||||||
PINSEL_ConfigPin(&config);
|
break;
|
||||||
break;
|
case OUTPUT:
|
||||||
case OUTPUT:
|
LPC_GPIO(LPC1768_PIN_PORT(pin))->FIODIR |= LPC_PIN(LPC1768_PIN_PIN(pin));
|
||||||
LPC_GPIO(LPC1768_PIN_PORT(pin))->FIODIR |= LPC_PIN(LPC1768_PIN_PIN(pin));
|
break;
|
||||||
PINSEL_ConfigPin(&config);
|
case INPUT_PULLUP:
|
||||||
break;
|
LPC_GPIO(LPC1768_PIN_PORT(pin))->FIODIR &= ~LPC_PIN(LPC1768_PIN_PIN(pin));
|
||||||
case INPUT_PULLUP:
|
config.Pinmode = PINSEL_PINMODE_PULLUP;
|
||||||
LPC_GPIO(LPC1768_PIN_PORT(pin))->FIODIR &= ~LPC_PIN(LPC1768_PIN_PIN(pin));
|
break;
|
||||||
config.Pinmode = PINSEL_PINMODE_PULLUP;
|
case INPUT_PULLDOWN:
|
||||||
PINSEL_ConfigPin(&config);
|
LPC_GPIO(LPC1768_PIN_PORT(pin))->FIODIR &= ~LPC_PIN(LPC1768_PIN_PIN(pin));
|
||||||
break;
|
config.Pinmode = PINSEL_PINMODE_PULLDOWN;
|
||||||
default:
|
break;
|
||||||
break;
|
default: return;
|
||||||
}
|
}
|
||||||
|
PINSEL_ConfigPin(&config);
|
||||||
}
|
}
|
||||||
|
|
||||||
void digitalWrite(pin_t pin, uint8_t pin_status) {
|
void digitalWrite(pin_t pin, uint8_t pin_status) {
|
||||||
@ -108,13 +109,13 @@ void digitalWrite(pin_t pin, uint8_t pin_status) {
|
|||||||
|
|
||||||
pinMode(pin, OUTPUT); // Set pin mode on every write (Arduino version does this)
|
pinMode(pin, OUTPUT); // Set pin mode on every write (Arduino version does this)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Must be done AFTER the output state is set. Doing this before will cause a
|
* Must be done AFTER the output state is set. Doing this before will cause a
|
||||||
* 2uS glitch if writing a "1".
|
* 2uS glitch if writing a "1".
|
||||||
*
|
*
|
||||||
* When the Port Direction bit is written to a "1" the output is immediately set
|
* When the Port Direction bit is written to a "1" the output is immediately set
|
||||||
* to the value of the FIOPIN bit which is "0" because of power up defaults.
|
* to the value of the FIOPIN bit which is "0" because of power up defaults.
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
bool digitalRead(pin_t pin) {
|
bool digitalRead(pin_t pin) {
|
||||||
|
@ -85,6 +85,9 @@ bool useable_hardware_PWM(pin_t pin);
|
|||||||
/// set pin as input with pullup mode
|
/// set pin as input with pullup mode
|
||||||
#define _PULLUP(IO, v) (pinMode(IO, (v!=LOW ? INPUT_PULLUP : INPUT)))
|
#define _PULLUP(IO, v) (pinMode(IO, (v!=LOW ? INPUT_PULLUP : INPUT)))
|
||||||
|
|
||||||
|
/// set pin as input with pulldown mode
|
||||||
|
#define _PULLDOWN(IO, v) (pinMode(IO, (v!=LOW ? INPUT_PULLDOWN : INPUT)))
|
||||||
|
|
||||||
// hg42: all pins can be input or output (I hope)
|
// hg42: all pins can be input or output (I hope)
|
||||||
// hg42: undefined pins create compile error (IO, is no pin)
|
// hg42: undefined pins create compile error (IO, is no pin)
|
||||||
// hg42: currently not used, but was used by pinsDebug
|
// hg42: currently not used, but was used by pinsDebug
|
||||||
@ -119,6 +122,8 @@ bool useable_hardware_PWM(pin_t pin);
|
|||||||
#define SET_INPUT(IO) _SET_INPUT(IO)
|
#define SET_INPUT(IO) _SET_INPUT(IO)
|
||||||
/// set pin as input with pullup wrapper
|
/// set pin as input with pullup wrapper
|
||||||
#define SET_INPUT_PULLUP(IO) do{ _SET_INPUT(IO); _PULLUP(IO, HIGH); }while(0)
|
#define SET_INPUT_PULLUP(IO) do{ _SET_INPUT(IO); _PULLUP(IO, HIGH); }while(0)
|
||||||
|
/// set pin as input with pulldown wrapper
|
||||||
|
#define SET_INPUT_PULLDOWN(IO) do{ _SET_INPUT(IO); _PULLDOWN(IO, HIGH); }while(0)
|
||||||
/// set pin as output wrapper - reads the pin and sets the output to that value
|
/// set pin as output wrapper - reads the pin and sets the output to that value
|
||||||
#define SET_OUTPUT(IO) do{ _WRITE(IO, _READ(IO)); _SET_OUTPUT(IO); }while(0)
|
#define SET_OUTPUT(IO) do{ _WRITE(IO, _READ(IO)); _SET_OUTPUT(IO); }while(0)
|
||||||
|
|
||||||
|
@ -31,9 +31,10 @@
|
|||||||
#define HIGH 0x01
|
#define HIGH 0x01
|
||||||
#define LOW 0x00
|
#define LOW 0x00
|
||||||
|
|
||||||
#define INPUT 0x00
|
#define INPUT 0x00
|
||||||
#define OUTPUT 0x01
|
#define OUTPUT 0x01
|
||||||
#define INPUT_PULLUP 0x02
|
#define INPUT_PULLUP 0x02
|
||||||
|
#define INPUT_PULLDOWN 0x03
|
||||||
|
|
||||||
#define LSBFIRST 0
|
#define LSBFIRST 0
|
||||||
#define MSBFIRST 1
|
#define MSBFIRST 1
|
||||||
@ -104,7 +105,7 @@ void delayMicroseconds(unsigned long);
|
|||||||
uint32_t millis();
|
uint32_t millis();
|
||||||
|
|
||||||
//IO functions
|
//IO functions
|
||||||
void pinMode(pin_t, uint8_t);
|
void pinMode(const pin_t, const uint8_t);
|
||||||
void digitalWrite(pin_t, uint8_t);
|
void digitalWrite(pin_t, uint8_t);
|
||||||
bool digitalRead(pin_t);
|
bool digitalRead(pin_t);
|
||||||
void analogWrite(pin_t, int);
|
void analogWrite(pin_t, int);
|
||||||
|
@ -83,7 +83,6 @@ typedef uint16_t hal_timer_t;
|
|||||||
#define DISABLE_TEMPERATURE_INTERRUPT() timer_disable_irq(TEMP_TIMER_DEV, TEMP_TIMER_CHAN)
|
#define DISABLE_TEMPERATURE_INTERRUPT() timer_disable_irq(TEMP_TIMER_DEV, TEMP_TIMER_CHAN)
|
||||||
|
|
||||||
#define HAL_timer_get_count(timer_num) timer_get_count(TIMER_DEV(timer_num))
|
#define HAL_timer_get_count(timer_num) timer_get_count(TIMER_DEV(timer_num))
|
||||||
#define HAL_timer_set_count(timer_num, count) timer_set_count(TIMER_DEV(timer_num), (uint16)count)
|
|
||||||
|
|
||||||
|
|
||||||
#define HAL_ENABLE_ISRs() do { if (thermalManager.in_temp_isr)DISABLE_TEMPERATURE_INTERRUPT(); else ENABLE_TEMPERATURE_INTERRUPT(); ENABLE_STEPPER_DRIVER_INTERRUPT(); } while(0)
|
#define HAL_ENABLE_ISRs() do { if (thermalManager.in_temp_isr)DISABLE_TEMPERATURE_INTERRUPT(); else ENABLE_TEMPERATURE_INTERRUPT(); ENABLE_STEPPER_DRIVER_INTERRUPT(); } while(0)
|
||||||
|
@ -121,10 +121,6 @@ void HAL_timer_set_compare(const uint8_t timer_num, const uint32_t compare) {
|
|||||||
__HAL_TIM_SetAutoreload(&timerConfig[timer_num].timerdef, compare);
|
__HAL_TIM_SetAutoreload(&timerConfig[timer_num].timerdef, compare);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HAL_timer_set_count(const uint8_t timer_num, const uint32_t count) {
|
|
||||||
__HAL_TIM_SetAutoreload(&timerConfig[timer_num].timerdef, count);
|
|
||||||
}
|
|
||||||
|
|
||||||
void HAL_timer_enable_interrupt(const uint8_t timer_num) {
|
void HAL_timer_enable_interrupt(const uint8_t timer_num) {
|
||||||
HAL_NVIC_EnableIRQ(timerConfig[timer_num].IRQ_Id);
|
HAL_NVIC_EnableIRQ(timerConfig[timer_num].IRQ_Id);
|
||||||
}
|
}
|
||||||
|
@ -95,11 +95,6 @@ void HAL_timer_set_compare(const uint8_t timer_num, const uint32_t compare);
|
|||||||
hal_timer_t HAL_timer_get_compare(const uint8_t timer_num);
|
hal_timer_t HAL_timer_get_compare(const uint8_t timer_num);
|
||||||
uint32_t HAL_timer_get_count(const uint8_t timer_num);
|
uint32_t HAL_timer_get_count(const uint8_t timer_num);
|
||||||
|
|
||||||
void HAL_timer_set_count(const uint8_t timer_num, const uint32_t count); // New
|
|
||||||
/*FORCE_INLINE static void HAL_timer_set_count(const uint8_t timer_num, const hal_timer_t count) {
|
|
||||||
// To do ??
|
|
||||||
}*/
|
|
||||||
|
|
||||||
void HAL_timer_isr_prologue(const uint8_t timer_num);
|
void HAL_timer_isr_prologue(const uint8_t timer_num);
|
||||||
|
|
||||||
#endif // _HAL_TIMERS_STM32F7_H
|
#endif // _HAL_TIMERS_STM32F7_H
|
||||||
|
@ -95,13 +95,6 @@ FORCE_INLINE static hal_timer_t HAL_timer_get_compare(const uint8_t timer_num) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCE_INLINE static void HAL_timer_set_count(const uint8_t timer_num, const hal_timer_t count) {
|
|
||||||
switch (timer_num) {
|
|
||||||
case 0: FTM0_CNT = count;
|
|
||||||
case 1: FTM1_CNT = count;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
FORCE_INLINE static hal_timer_t HAL_timer_get_count(const uint8_t timer_num) {
|
FORCE_INLINE static hal_timer_t HAL_timer_get_count(const uint8_t timer_num) {
|
||||||
switch (timer_num) {
|
switch (timer_num) {
|
||||||
case 0: return FTM0_CNT;
|
case 0: return FTM0_CNT;
|
||||||
|
@ -216,18 +216,6 @@ void setup_killpin() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
|
||||||
|
|
||||||
void setup_filrunoutpin() {
|
|
||||||
#if ENABLED(ENDSTOPPULLUP_FIL_RUNOUT)
|
|
||||||
SET_INPUT_PULLUP(FIL_RUNOUT_PIN);
|
|
||||||
#else
|
|
||||||
SET_INPUT(FIL_RUNOUT_PIN);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void setup_powerhold() {
|
void setup_powerhold() {
|
||||||
#if HAS_SUICIDE
|
#if HAS_SUICIDE
|
||||||
OUT_WRITE(SUICIDE_PIN, HIGH);
|
OUT_WRITE(SUICIDE_PIN, HIGH);
|
||||||
@ -284,6 +272,9 @@ void quickstop_stepper() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void enable_all_steppers() {
|
void enable_all_steppers() {
|
||||||
|
#if ENABLED(AUTO_POWER_CONTROL)
|
||||||
|
powerManager.power_on();
|
||||||
|
#endif
|
||||||
enable_X();
|
enable_X();
|
||||||
enable_Y();
|
enable_Y();
|
||||||
enable_Z();
|
enable_Z();
|
||||||
@ -334,11 +325,7 @@ void disable_all_steppers() {
|
|||||||
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 || print_job_timer.isRunning())
|
runout.run();
|
||||||
&& READ(FIL_RUNOUT_PIN) == FIL_RUNOUT_INVERTING
|
|
||||||
&& thermalManager.targetHotEnoughToExtrude(active_extruder)
|
|
||||||
)
|
|
||||||
handle_filament_runout();
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (commands_in_queue < BUFSIZE) get_available_commands();
|
if (commands_in_queue < BUFSIZE) get_available_commands();
|
||||||
@ -427,6 +414,10 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
|
|||||||
controllerfan_update(); // Check if fan should be turned on to cool stepper drivers down
|
controllerfan_update(); // Check if fan should be turned on to cool stepper drivers down
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(AUTO_POWER_CONTROL)
|
||||||
|
powerManager.check();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
|
#if ENABLED(EXTRUDER_RUNOUT_PREVENT)
|
||||||
if (thermalManager.degHotend(active_extruder) > EXTRUDER_RUNOUT_MINTEMP
|
if (thermalManager.degHotend(active_extruder) > EXTRUDER_RUNOUT_MINTEMP
|
||||||
&& ELAPSED(ms, gcode.previous_cmd_ms + (EXTRUDER_RUNOUT_SECONDS) * 1000UL)
|
&& ELAPSED(ms, gcode.previous_cmd_ms + (EXTRUDER_RUNOUT_SECONDS) * 1000UL)
|
||||||
@ -659,7 +650,7 @@ void setup() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
|
||||||
setup_filrunoutpin();
|
runout.setup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
setup_killpin();
|
setup_killpin();
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -520,11 +520,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -534,6 +533,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -860,17 +872,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1606,12 +1620,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
#define USE_YMAX_PLUG
|
#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -520,11 +520,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -534,6 +533,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -950,17 +962,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1734,12 +1748,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -507,11 +507,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -521,6 +520,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -847,17 +859,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1521,8 +1535,6 @@
|
|||||||
// RepRapDiscount FULL GRAPHIC Smart Controller
|
// RepRapDiscount FULL GRAPHIC Smart Controller
|
||||||
// http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
|
// http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller
|
||||||
//
|
//
|
||||||
// Note: Details on connecting to the Anet V1.0 controller are in the file pins_ANET_10.h
|
|
||||||
//
|
|
||||||
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
|
||||||
|
|
||||||
//
|
//
|
||||||
@ -1596,12 +1608,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
#define USE_YMAX_PLUG
|
#define USE_YMAX_PLUG
|
||||||
#define USE_ZMAX_PLUG
|
#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
#define USE_YMAX_PLUG
|
#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
|
const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
|
||||||
const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
|
const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
#define USE_YMAX_PLUG
|
#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
|
const bool X_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
|
||||||
const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
|
const bool Y_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -488,11 +488,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -502,6 +501,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -828,17 +840,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1574,12 +1588,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#define CONFIGURATION_H_VERSION 020000
|
#define CONFIGURATION_H_VERSION 020000
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//================================= README ==================================
|
//============================= Getting Started =============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -34,15 +34,9 @@
|
|||||||
* This configuration supports the standard Hephestos 2 with or without the
|
* This configuration supports the standard Hephestos 2 with or without the
|
||||||
* heated bed kit featured at https://store.bq.com/en/heated-bed-kit-hephestos2
|
* heated bed kit featured at https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
*
|
*
|
||||||
* Enable the following option to activate all functionality related to the heated bed.
|
* Enable HEPHESTOS2_HEATED_BED_KIT in Configuration_adv.h for all functionality
|
||||||
*/
|
* related to the heated bed.
|
||||||
//#define HEPHESTOS2_HEATED_BED_KIT
|
*
|
||||||
|
|
||||||
//===========================================================================
|
|
||||||
//============================= Getting Started =============================
|
|
||||||
//===========================================================================
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Here are some standard links for getting your machine calibrated:
|
* Here are some standard links for getting your machine calibrated:
|
||||||
*
|
*
|
||||||
* http://reprap.org/wiki/Calibration
|
* http://reprap.org/wiki/Calibration
|
||||||
@ -313,13 +307,7 @@
|
|||||||
#define TEMP_SENSOR_2 0
|
#define TEMP_SENSOR_2 0
|
||||||
#define TEMP_SENSOR_3 0
|
#define TEMP_SENSOR_3 0
|
||||||
#define TEMP_SENSOR_4 0
|
#define TEMP_SENSOR_4 0
|
||||||
|
#define TEMP_SENSOR_BED 0
|
||||||
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
|
||||||
#define TEMP_SENSOR_BED 70
|
|
||||||
#define HEATER_BED_INVERTING true
|
|
||||||
#else
|
|
||||||
#define TEMP_SENSOR_BED 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
// Dummy thermistor constant temperature readings, for use with 998 and 999
|
||||||
#define DUMMY_THERMISTOR_998_VALUE 25
|
#define DUMMY_THERMISTOR_998_VALUE 25
|
||||||
@ -412,10 +400,7 @@
|
|||||||
// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)
|
// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)
|
||||||
// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,
|
// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,
|
||||||
// so you shouldn't use it unless you are OK with PWM on your bed. (see the comment on enabling PIDTEMPBED)
|
// so you shouldn't use it unless you are OK with PWM on your bed. (see the comment on enabling PIDTEMPBED)
|
||||||
|
#define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
|
||||||
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
|
||||||
#define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ENABLED(PIDTEMPBED)
|
#if ENABLED(PIDTEMPBED)
|
||||||
|
|
||||||
@ -501,11 +486,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -515,6 +499,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -841,17 +838,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1587,12 +1586,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -488,11 +488,10 @@
|
|||||||
#define USE_YMAX_PLUG
|
#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -502,6 +501,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -828,17 +840,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1574,12 +1588,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -499,11 +499,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -513,6 +512,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -839,17 +851,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1585,12 +1599,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -510,11 +510,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
//#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
//#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -524,6 +523,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -850,17 +862,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1597,12 +1611,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
55
Marlin/src/config/examples/Creality/CR-10/_Bootscreen.h
Normal file
55
Marlin/src/config/examples/Creality/CR-10/_Bootscreen.h
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
* Marlin 3D Printer Firmware
|
||||||
|
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
|
*
|
||||||
|
* Based on Sprinter and grbl.
|
||||||
|
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Custom Boot Screen bitmap
|
||||||
|
*
|
||||||
|
* Place this file in the root with your configuration files
|
||||||
|
* and enable SHOW_CUSTOM_BOOTSCREEN in Configuration.h.
|
||||||
|
*
|
||||||
|
* Use the Marlin Bitmap Converter to make your own:
|
||||||
|
* http://marlinfw.org/tools/u8glib/converter.html
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define CUSTOM_BOOTSCREEN_TIMEOUT 1000
|
||||||
|
#define CUSTOM_BOOTSCREEN_BMPWIDTH 128
|
||||||
|
|
||||||
|
const unsigned char custom_start_bmp[] PROGMEM = {
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111100,B00000000,B00000000,
|
||||||
|
B00001111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000111,B11100000,B00000000,B00000000,B00000000,B00000000,B00000001,B10000110,B00011111,B11000000,
|
||||||
|
B00011000,B01110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00111100,B00001100,B00000000,B00000000,B00000001,B10000011,B00001100,B01100000,
|
||||||
|
B00010000,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00111100,B00001100,B00000000,B00000000,B00000001,B10000011,B00001100,B00110000,
|
||||||
|
B00110000,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00001100,B00000000,B00000000,B00000000,B00000011,B00001100,B00011000,
|
||||||
|
B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00111111,B00001111,B00111100,B00000000,B00000011,B00001100,B00001100,
|
||||||
|
B01100000,B00000001,B11011111,B00001111,B11100000,B11111110,B00000000,B01100000,B00011100,B00011100,B00000110,B00011000,B00000000,B00000110,B00001100,B00001100,
|
||||||
|
B01100000,B00000000,B11110011,B00011000,B00110001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000011,B00011000,B00000000,B00011110,B00001100,B00001100,
|
||||||
|
B01100000,B00000000,B11100000,B00110000,B00111001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000011,B00001100,B00001100,
|
||||||
|
B01100000,B00000000,B11000000,B00110000,B00111000,B00001111,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000001,B10001100,B00001100,
|
||||||
|
B01100000,B00000000,B11000000,B00111111,B11111000,B11111011,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000001,B10001100,B00001100,
|
||||||
|
B01100000,B00110000,B11000000,B00110000,B00000001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000001,B11110000,B00000001,B10000001,B10001100,B00001100,
|
||||||
|
B01100000,B00110000,B11000000,B00110000,B00000001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000000,B11100000,B00000001,B10000001,B10001100,B00011000,
|
||||||
|
B00110000,B00110000,B11000000,B00011000,B00110001,B10000011,B00000000,B01100000,B00001100,B00001100,B01000000,B11100000,B00000001,B10000011,B10001100,B00110000,
|
||||||
|
B00011000,B01100000,B11000000,B00001100,B01100001,B10000111,B11000000,B11100000,B00011100,B00001100,B11000000,B01100000,B00000000,B11000011,B00001100,B01100000,
|
||||||
|
B00001111,B11000011,B11110000,B00000111,B11000000,B11111111,B11000111,B11111100,B01111111,B00000111,B10000001,B11000000,B00000000,B01111110,B00011111,B11000000,
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B00000000,B00000000,B00000000,B00000000,B00000000,
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B00000000,B00000000,B00000000,B00000000,B00000000
|
||||||
|
};
|
@ -491,11 +491,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -505,6 +504,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -831,17 +843,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
#define FILAMENT_RUNOUT_SENSOR
|
#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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 true // set to true to invert the logic of the sensor.
|
#define FIL_RUNOUT_INVERTING true // 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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
|
#define FIL_RUNOUT_PIN 2 // Creality CR10-S stock sensor
|
||||||
#endif
|
#endif
|
||||||
@ -1572,12 +1586,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
55
Marlin/src/config/examples/Creality/CR-10S/_Bootscreen.h
Normal file
55
Marlin/src/config/examples/Creality/CR-10S/_Bootscreen.h
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
* Marlin 3D Printer Firmware
|
||||||
|
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
|
*
|
||||||
|
* Based on Sprinter and grbl.
|
||||||
|
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Custom Boot Screen bitmap
|
||||||
|
*
|
||||||
|
* Place this file in the root with your configuration files
|
||||||
|
* and enable SHOW_CUSTOM_BOOTSCREEN in Configuration.h.
|
||||||
|
*
|
||||||
|
* Use the Marlin Bitmap Converter to make your own:
|
||||||
|
* http://marlinfw.org/tools/u8glib/converter.html
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define CUSTOM_BOOTSCREEN_TIMEOUT 1000
|
||||||
|
#define CUSTOM_BOOTSCREEN_BMPWIDTH 128
|
||||||
|
|
||||||
|
const unsigned char custom_start_bmp[] PROGMEM = {
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111100,B00000000,B00000000,
|
||||||
|
B00001111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000111,B11100000,B00000000,B00000000,B00000000,B00000000,B00000001,B10000110,B00011111,B11000000,
|
||||||
|
B00011000,B01110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00111100,B00001100,B00000000,B00000000,B00000001,B10000011,B00001100,B01100000,
|
||||||
|
B00010000,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00111100,B00001100,B00000000,B00000000,B00000001,B10000011,B00001100,B00110000,
|
||||||
|
B00110000,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00001100,B00000000,B00000000,B00000000,B00000011,B00001100,B00011000,
|
||||||
|
B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00111111,B00001111,B00111100,B00000000,B00000011,B00001100,B00001100,
|
||||||
|
B01100000,B00000001,B11011111,B00001111,B11100000,B11111110,B00000000,B01100000,B00011100,B00011100,B00000110,B00011000,B00000000,B00000110,B00001100,B00001100,
|
||||||
|
B01100000,B00000000,B11110011,B00011000,B00110001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000011,B00011000,B00000000,B00011110,B00001100,B00001100,
|
||||||
|
B01100000,B00000000,B11100000,B00110000,B00111001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000011,B00001100,B00001100,
|
||||||
|
B01100000,B00000000,B11000000,B00110000,B00111000,B00001111,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000001,B10001100,B00001100,
|
||||||
|
B01100000,B00000000,B11000000,B00111111,B11111000,B11111011,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000001,B10001100,B00001100,
|
||||||
|
B01100000,B00110000,B11000000,B00110000,B00000001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000001,B11110000,B00000001,B10000001,B10001100,B00001100,
|
||||||
|
B01100000,B00110000,B11000000,B00110000,B00000001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000000,B11100000,B00000001,B10000001,B10001100,B00011000,
|
||||||
|
B00110000,B00110000,B11000000,B00011000,B00110001,B10000011,B00000000,B01100000,B00001100,B00001100,B01000000,B11100000,B00000001,B10000011,B10001100,B00110000,
|
||||||
|
B00011000,B01100000,B11000000,B00001100,B01100001,B10000111,B11000000,B11100000,B00011100,B00001100,B11000000,B01100000,B00000000,B11000011,B00001100,B01100000,
|
||||||
|
B00001111,B11000011,B11110000,B00000111,B11000000,B11111111,B11000111,B11111100,B01111111,B00000111,B10000001,B11000000,B00000000,B01111110,B00011111,B11000000,
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B00000000,B00000000,B00000000,B00000000,B00000000,
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B00000000,B00000000,B00000000,B00000000,B00000000
|
||||||
|
};
|
1856
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
Normal file
1856
Marlin/src/config/examples/Creality/CR-10mini/Configuration.h
Normal file
File diff suppressed because it is too large
Load Diff
1617
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
Normal file
1617
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
Normal file
File diff suppressed because it is too large
Load Diff
55
Marlin/src/config/examples/Creality/CR-10mini/_Bootscreen.h
Normal file
55
Marlin/src/config/examples/Creality/CR-10mini/_Bootscreen.h
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
/**
|
||||||
|
* Marlin 3D Printer Firmware
|
||||||
|
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
|
*
|
||||||
|
* Based on Sprinter and grbl.
|
||||||
|
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Custom Boot Screen bitmap
|
||||||
|
*
|
||||||
|
* Place this file in the root with your configuration files
|
||||||
|
* and enable SHOW_CUSTOM_BOOTSCREEN in Configuration.h.
|
||||||
|
*
|
||||||
|
* Use the Marlin Bitmap Converter to make your own:
|
||||||
|
* http://marlinfw.org/tools/u8glib/converter.html
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define CUSTOM_BOOTSCREEN_TIMEOUT 1000
|
||||||
|
#define CUSTOM_BOOTSCREEN_BMPWIDTH 128
|
||||||
|
|
||||||
|
const unsigned char custom_start_bmp[] PROGMEM = {
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00000000,B00000000,B00000000,B00000000,B11111100,B00000000,B00000000,
|
||||||
|
B00001111,B11110000,B00000000,B00000000,B00000000,B00000000,B00000111,B11100000,B00000000,B00000000,B00000000,B00000000,B00000001,B10000110,B00011111,B11000000,
|
||||||
|
B00011000,B01110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00111100,B00001100,B00000000,B00000000,B00000001,B10000011,B00001100,B01100000,
|
||||||
|
B00010000,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00111100,B00001100,B00000000,B00000000,B00000001,B10000011,B00001100,B00110000,
|
||||||
|
B00110000,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00001100,B00000000,B00000000,B00000000,B00000011,B00001100,B00011000,
|
||||||
|
B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B01100000,B00000000,B00111111,B00001111,B00111100,B00000000,B00000011,B00001100,B00001100,
|
||||||
|
B01100000,B00000001,B11011111,B00001111,B11100000,B11111110,B00000000,B01100000,B00011100,B00011100,B00000110,B00011000,B00000000,B00000110,B00001100,B00001100,
|
||||||
|
B01100000,B00000000,B11110011,B00011000,B00110001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000011,B00011000,B00000000,B00011110,B00001100,B00001100,
|
||||||
|
B01100000,B00000000,B11100000,B00110000,B00111001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000011,B00001100,B00001100,
|
||||||
|
B01100000,B00000000,B11000000,B00110000,B00111000,B00001111,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000001,B10001100,B00001100,
|
||||||
|
B01100000,B00000000,B11000000,B00111111,B11111000,B11111011,B00000000,B01100000,B00001100,B00001100,B00000011,B00110000,B00000000,B00000001,B10001100,B00001100,
|
||||||
|
B01100000,B00110000,B11000000,B00110000,B00000001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000001,B11110000,B00000001,B10000001,B10001100,B00001100,
|
||||||
|
B01100000,B00110000,B11000000,B00110000,B00000001,B10000011,B00000000,B01100000,B00001100,B00001100,B00000000,B11100000,B00000001,B10000001,B10001100,B00011000,
|
||||||
|
B00110000,B00110000,B11000000,B00011000,B00110001,B10000011,B00000000,B01100000,B00001100,B00001100,B01000000,B11100000,B00000001,B10000011,B10001100,B00110000,
|
||||||
|
B00011000,B01100000,B11000000,B00001100,B01100001,B10000111,B11000000,B11100000,B00011100,B00001100,B11000000,B01100000,B00000000,B11000011,B00001100,B01100000,
|
||||||
|
B00001111,B11000011,B11110000,B00000111,B11000000,B11111111,B11000111,B11111100,B01111111,B00000111,B10000001,B11000000,B00000000,B01111110,B00011111,B11000000,
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B00000000,B00000000,B00000000,B00000000,B00000000,
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000111,B00000000,B00000000,B00000000,B00000000,B00000000
|
||||||
|
};
|
@ -0,0 +1,80 @@
|
|||||||
|
/**
|
||||||
|
* Marlin 3D Printer Firmware
|
||||||
|
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
||||||
|
*
|
||||||
|
* Based on Sprinter and grbl.
|
||||||
|
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Custom Status Screen bitmap
|
||||||
|
*
|
||||||
|
* Place this file in the root with your configuration files
|
||||||
|
* and enable CUSTOM_STATUS_SCREEN_IMAGE in Configuration.h.
|
||||||
|
*
|
||||||
|
* Use the Marlin Bitmap Converter to make your own:
|
||||||
|
* http://marlinfw.org/tools/u8glib/converter.html
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define STATUS_SCREENWIDTH 128
|
||||||
|
#define STATUS_SCREEN_HOTEND_TEXT_X(E) 38
|
||||||
|
#define STATUS_SCREEN_BED_TEXT_X 73
|
||||||
|
|
||||||
|
//============================================
|
||||||
|
|
||||||
|
const unsigned char status_screen0_bmp[] PROGMEM = {
|
||||||
|
B00000111,B11001111,B10000000,B00110001,B11100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111111,B11111111,B11110000,
|
||||||
|
B00001111,B11001111,B11000000,B01110011,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111000,B00000000,B01110000,
|
||||||
|
B00001100,B00001100,B01000000,B01110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00110000,B11111100,B00110000,
|
||||||
|
B00001100,B00001100,B11000000,B00110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00100000,B11111100,B00010000,
|
||||||
|
B00001100,B00001111,B11001111,B00110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00100000,B01111000,B00010000,
|
||||||
|
B00001100,B00001101,B10001111,B00110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00100000,B00110000,B00010000,
|
||||||
|
B00001100,B00001100,B11000000,B00110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00101100,B00000000,B11010000,
|
||||||
|
B00001111,B11001100,B11000000,B00110011,B11110000,B00011111,B11100000,B00000000,B00000000,B00001000,B00100000,B10000000,B00000000,B00101110,B00110001,B11010000,
|
||||||
|
B00000111,B11001100,B11000000,B00110001,B11100000,B00111111,B11110000,B00000000,B00000000,B00000100,B00010000,B01000000,B00000000,B00101111,B01111011,B11010000,
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00111111,B11110000,B00000000,B00000000,B00000100,B00010000,B01000000,B00000000,B00101111,B01111011,B11010000,
|
||||||
|
B00000001,B10000011,B00110000,B00000011,B00000000,B00111111,B11110000,B00000000,B00000000,B00001000,B00100000,B10000000,B00000000,B00101110,B00110001,B11010000,
|
||||||
|
B00000001,B10000011,B00110010,B00000011,B00000000,B00011111,B11100000,B00000000,B00000000,B00010000,B01000001,B00000000,B00000000,B00101100,B00000000,B11010000,
|
||||||
|
B00000001,B11000111,B00000010,B11100000,B00000000,B00011111,B11100000,B00000000,B00000000,B00100000,B10000010,B00000000,B00000000,B00100000,B00110000,B00010000,
|
||||||
|
B00000001,B11000111,B00110011,B11110011,B00000000,B00111111,B11110000,B00000000,B00000000,B00100000,B10000010,B00000000,B00000000,B00100000,B01111000,B00010000,
|
||||||
|
B00000001,B11101111,B00110011,B00110011,B00000000,B00111111,B11110000,B00000000,B00000000,B00010000,B01000001,B00000000,B00000000,B00100000,B11111100,B00010000,
|
||||||
|
B00000001,B10111011,B00110011,B00110011,B00000000,B00111111,B11110000,B00000000,B00000000,B00001000,B00100000,B10000000,B00000000,B00110000,B11111100,B00110000,
|
||||||
|
B00000001,B10010011,B00110011,B00110011,B00000000,B00001111,B11000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111000,B00000000,B01110000,
|
||||||
|
B00000001,B10010011,B00110011,B00110011,B00000000,B00000111,B10000000,B00000000,B00000000,B11111111,B11111111,B11000000,B00000000,B00111111,B11111111,B11110000,
|
||||||
|
B00000001,B10000011,B00110011,B00110011,B00000000,B00000011,B00000000,B00000000,B00000000,B11111111,B11111111,B11000000,B00000000,B00000000,B00000000,B00000000
|
||||||
|
};
|
||||||
|
const unsigned char status_screen1_bmp[] PROGMEM = {
|
||||||
|
B00000111,B11001111,B10000000,B00110001,B11100000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111111,B11111111,B11110000,
|
||||||
|
B00001111,B11001111,B11000000,B01110011,B11110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111000,B00000000,B01110000,
|
||||||
|
B00001100,B00001100,B01000000,B01110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00110011,B10000111,B00110000,
|
||||||
|
B00001100,B00001100,B11000000,B00110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00100111,B10000111,B10010000,
|
||||||
|
B00001100,B00001111,B11001111,B00110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00101111,B10000111,B11010000,
|
||||||
|
B00001100,B00001101,B10001111,B00110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00101111,B10000111,B11010000,
|
||||||
|
B00001100,B00001100,B11000000,B00110011,B00110000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00101111,B00000011,B11010000,
|
||||||
|
B00001111,B11001100,B11000000,B00110011,B11110000,B00011111,B11100000,B00000000,B00000000,B00001000,B00100000,B10000000,B00000000,B00100000,B00110000,B00010000,
|
||||||
|
B00000111,B11001100,B11000000,B00110001,B11100000,B00111111,B11110000,B00000000,B00000000,B00000100,B00010000,B01000000,B00000000,B00100000,B01111000,B00010000,
|
||||||
|
B00000000,B00000000,B00000000,B00000000,B00000000,B00111111,B11110000,B00000000,B00000000,B00000100,B00010000,B01000000,B00000000,B00100000,B01111000,B00010000,
|
||||||
|
B00000001,B10000011,B00110000,B00000011,B00000000,B00111111,B11110000,B00000000,B00000000,B00001000,B00100000,B10000000,B00000000,B00100000,B00110000,B00010000,
|
||||||
|
B00000001,B10000011,B00110010,B00000011,B00000000,B00011111,B11100000,B00000000,B00000000,B00010000,B01000001,B00000000,B00000000,B00101111,B00000011,B11010000,
|
||||||
|
B00000001,B11000111,B00000010,B11100000,B00000000,B00011111,B11100000,B00000000,B00000000,B00100000,B10000010,B00000000,B00000000,B00101111,B10000111,B11010000,
|
||||||
|
B00000001,B11000111,B00110011,B11110011,B00000000,B00111111,B11110000,B00000000,B00000000,B00100000,B10000010,B00000000,B00000000,B00101111,B10000111,B11010000,
|
||||||
|
B00000001,B11101111,B00110011,B00110011,B00000000,B00111111,B11110000,B00000000,B00000000,B00010000,B01000001,B00000000,B00000000,B00100111,B10000111,B10010000,
|
||||||
|
B00000001,B10111011,B00110011,B00110011,B00000000,B00111111,B11110000,B00000000,B00000000,B00001000,B00100000,B10000000,B00000000,B00110011,B10000111,B00110000,
|
||||||
|
B00000001,B10010011,B00110011,B00110011,B00000000,B00001111,B11000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00000000,B00111000,B00000000,B01110000,
|
||||||
|
B00000001,B10010011,B00110011,B00110011,B00000000,B00000111,B10000000,B00000000,B00000000,B11111111,B11111111,B11000000,B00000000,B00111111,B11111111,B11110000,
|
||||||
|
B00000001,B10000011,B00110011,B00110011,B00000000,B00000011,B00000000,B00000000,B00000000,B11111111,B11111111,B11000000,B00000000,B00000000,B00000000,B00000000
|
||||||
|
};
|
@ -495,11 +495,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -509,6 +508,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -835,17 +847,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1572,12 +1586,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -31,71 +31,66 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define CUSTOM_BOOTSCREEN_TIMEOUT 1000
|
#define CUSTOM_BOOTSCREEN_TIMEOUT 1000
|
||||||
#define CUSTOM_BOOTSCREEN_BMPWIDTH 128
|
#define CUSTOM_BOOTSCREEN_BMPWIDTH 81
|
||||||
|
#define CUSTOM_BOOTSCREEN_INVERTED
|
||||||
|
|
||||||
const unsigned char custom_start_bmp[] PROGMEM = {
|
const unsigned char custom_start_bmp[] PROGMEM = {
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11101111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11101111,B11101111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11100111,B11011111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11101111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11100111,B11011111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11101111,B11101111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11100011,B11011111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11100111,B11011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11110011,B11001111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11100111,B11011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11100001,B11100001,B11001111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11100011,B11011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111110,B01111000,B00000000,B00000000,B00000011,B11011101,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110011,B11001111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111110,B11111111,B10000000,B01111110,B00000000,B00000001,B11101110,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11100001,B11100001,B11001111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111110,B01111101,B11001111,B11111100,B00000000,B00000000,B11110111,B01111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111110,B01111000,B00000000,B00000000,B00000011,B11011101,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B10001110,B00000110,B00000000,B00000000,B00000000,B01111011,B10111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111110,B11111111,B10000000,B01111110,B00000000,B00000001,B11101110,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11000000,B00000000,B00000000,B00000000,B00000000,B01111101,B11011111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111110,B01111101,B11001111,B11111100,B00000000,B00000000,B11110111,B01111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111100,B00000001,B11111110,B00000000,B00000000,B00111110,B11100111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B10001110,B00000110,B00000000,B00000000,B00000000,B01111011,B10111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111100,B00000000,B00000011,B00011111,B01110011,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11000000,B00000000,B00000000,B00000000,B00000000,B01111101,B11011111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111000,B00000000,B00000001,B10001111,B10000001,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111100,B00000001,B11111110,B00000000,B00000000,B00111110,B11100111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11100000,B00000000,B00000000,B10000011,B11111001,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111100,B00000000,B00000011,B00011111,B01110011,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B00000000,B11111100,B00000000,B00000000,B11110000,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111000,B00000000,B00000001,B10001111,B10000001,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11100000,B00001111,B11111111,B11000000,B00000000,B00000000,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11100000,B00000000,B00000000,B10000011,B11111001,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111110,B00000011,B11111111,B11111111,B11000000,B00000000,B00000000,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B00000000,B11111100,B00000000,B00000000,B11110000,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111001,B00000000,B00000000,B00000000,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11100000,B00001111,B11111111,B11000000,B00000000,B00000000,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111100,B00000000,B00000111,B11000000,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111110,B00000011,B11111111,B11111111,B11000000,B00000000,B00000000,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B00000000,B00000111,B11100000,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111001,B00000000,B00000000,B00000000,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11100000,B00000111,B11110001,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111100,B00000000,B00000111,B11000000,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111100,B00000111,B11111001,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B00000000,B00000111,B11100000,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B00000011,B11111001,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11100000,B00000111,B11110001,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B10000011,B11111001,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111100,B00000111,B11111001,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11000011,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B00000011,B11111001,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11100001,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B10000011,B11111001,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000,B10111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11000011,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111011,B11111000,B00111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11100001,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111001,B11111000,B00111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11110000,B10111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B01111110,B11110000,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111011,B11111000,B00111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B10001110,B00000011,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111001,B11111000,B00111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11100000,B00011111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B01111110,B11110000,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B10001110,B00000011,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11100000,B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B01111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B00000000,B00000000,B01111111,B11111111,B11111111,B11111000,B01111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B10000000,B00000000,B01111111,B11111111,B11111111,B11100000,B01111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B01111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11000011,B11111100,B11111111,B11111111,B11111111,B11111000,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B00000000,B00000000,B01111111,B11111111,B11111111,B11111000,B01111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11000011,B11111100,B11111111,B11111111,B11111111,B11111000,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B10000000,B00000000,B01111111,B11111111,B11111111,B11100000,B01111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B10000111,B11111101,B11111111,B11111111,B11111111,B11110001,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11000011,B11111100,B11111111,B11111111,B11111111,B11111000,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B10000111,B11111111,B11111111,B11111111,B11111111,B11110001,B11111111,B11111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B11000011,B11111100,B11111111,B11111111,B11111111,B11111000,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B00001111,B11100111,B11110011,B00001111,B11111100,B00100011,B11111100,B00111111,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B10000111,B11111101,B11111111,B11111111,B11111111,B11110001,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B00001111,B11101111,B10000000,B00000111,B11110000,B00000011,B11110000,B00011110,B00000000,B01111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B10000111,B11111111,B11111111,B11111111,B11111111,B11110001,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
B11111110,B00011111,B11001111,B10000001,B10000111,B11000111,B10000111,B11000111,B00001100,B00000000,B01111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B00001111,B11100111,B11110011,B00001111,B11111100,B00100011,B11111100,B00111111,B11111111,B11111111,B11111111,B11111111,
|
B11111110,B00000000,B00011111,B11000111,B11000111,B10001111,B11000111,B10011111,B00001111,B00001100,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111111,B00001111,B11101111,B10000000,B00000111,B11110000,B00000011,B11110000,B00011110,B00000000,B01111111,B11111111,B11111111,
|
B11111110,B00000000,B00011111,B10000111,B10001111,B00011111,B10001111,B00011111,B00001111,B00011111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111110,B00011111,B11001111,B10000001,B10000111,B11000111,B10000111,B11000111,B00001100,B00000000,B01111111,B11111111,B11111111,
|
B11111100,B00111111,B10011111,B10001111,B10001111,B00011111,B10001110,B00000000,B00011110,B00111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111110,B00000000,B00011111,B11000111,B11000111,B10001111,B11000111,B10011111,B00001111,B00001100,B11111111,B11111111,B11111111,
|
B11111100,B01111111,B00111111,B00001111,B00011110,B00111111,B00011110,B00111111,B11111110,B00111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111110,B00000000,B00011111,B10000111,B10001111,B00011111,B10001111,B00011111,B00001111,B00011111,B11111111,B11111111,B11111111,
|
B11111000,B01111111,B11111111,B00011111,B00011100,B00111111,B00011100,B01111111,B11111100,B01111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111100,B00111111,B10011111,B10001111,B10001111,B00011111,B10001110,B00000000,B00011110,B00111111,B11111111,B11111111,B11111111,
|
B11111000,B11111111,B11111111,B00011110,B00011100,B01111110,B00011100,B01111111,B11111100,B01111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111100,B01111111,B00111111,B00001111,B00011110,B00111111,B00011110,B00111111,B11111110,B00111111,B11111111,B11111111,B11111111,
|
B11110000,B11111111,B11001110,B00111110,B00111100,B01111110,B00111100,B01111111,B10111000,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111000,B01111111,B11111111,B00011111,B00011100,B00111111,B00011100,B01111111,B11111100,B01111111,B11111111,B11111111,B11111111,
|
B11110000,B11111111,B10011110,B00111100,B00111000,B01111100,B00111000,B01111110,B01111000,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11111000,B11111111,B11111111,B00011110,B00011100,B01111110,B00011100,B01111111,B11111100,B01111111,B11111111,B11111111,B11111111,
|
B11100001,B11111111,B00111100,B01111100,B01111000,B01111100,B01111000,B00111100,B11110001,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11110000,B11111111,B11001110,B00111110,B00111100,B01111110,B00111100,B01111111,B10111000,B11111111,B11111111,B11111111,B11111111,
|
B11100001,B11111000,B00111000,B01111000,B01111000,B00010000,B00011000,B00000001,B11110001,B11111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11110000,B11111111,B10011110,B00111100,B00111000,B01111100,B00111000,B01111110,B01111000,B11111111,B11111111,B11111111,B11111111,
|
B00000000,B00000000,B01100000,B00100000,B00111100,B00000000,B01111100,B00000111,B10000000,B01111111,B11111111,
|
||||||
B11111111,B11111111,B11111111,B11100001,B11111111,B00111100,B01111100,B01111000,B01111100,B01111000,B00111100,B11110001,B11111111,B11111111,B11111111,B11111111,
|
B11111111,B11111111,B11111111,B11111111,B11111110,B00011111,B11111110,B00011111,B11111111,B11111111,B11111111
|
||||||
B11111111,B11111111,B11111111,B11100001,B11111000,B00111000,B01111000,B01111000,B00010000,B00011000,B00000001,B11110001,B11111111,B11111111,B11111111,B11111111,
|
|
||||||
B11111111,B11111111,B11111111,B00000000,B00000000,B01100000,B00100000,B00111100,B00000000,B01111100,B00000111,B10000000,B01111111,B11111111,B11111111,B11111111,
|
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111110,B00011111,B11111110,B00011111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,
|
|
||||||
B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111,B11111111
|
|
||||||
};
|
};
|
||||||
|
@ -481,11 +481,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -495,6 +494,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -822,17 +834,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1568,12 +1582,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -481,11 +481,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -495,6 +494,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -822,17 +834,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1568,12 +1582,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -506,11 +506,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -520,6 +519,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -846,17 +858,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1593,12 +1607,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -515,11 +515,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -529,6 +528,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -855,17 +867,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1601,12 +1615,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -506,11 +506,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
#define USE_ZMAX_PLUG
|
#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -520,6 +519,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -847,17 +859,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1590,12 +1604,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -506,11 +506,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -520,6 +519,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -846,17 +858,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1589,12 +1603,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -504,11 +504,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -518,6 +517,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -844,17 +856,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1590,12 +1604,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -512,11 +512,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -526,6 +525,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -852,17 +864,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
#define FILAMENT_RUNOUT_SENSOR
|
#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1597,12 +1611,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -520,11 +520,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
#define ENDSTOPPULLUP_XMAX
|
#define ENDSTOPPULLUP_XMAX
|
||||||
#define ENDSTOPPULLUP_YMAX
|
#define ENDSTOPPULLUP_YMAX
|
||||||
#define ENDSTOPPULLUP_ZMAX
|
#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -534,6 +533,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -860,17 +872,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1606,12 +1620,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -508,11 +508,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -522,6 +521,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
|
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -864,17 +876,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1614,12 +1628,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -499,11 +499,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -513,6 +512,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -839,17 +851,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1585,12 +1599,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -844,17 +856,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1590,12 +1604,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -844,17 +856,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1590,12 +1604,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1588,12 +1602,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -496,11 +496,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -510,6 +509,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -838,17 +850,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -512,11 +512,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
//#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
//#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
#define ENDSTOPPULLUP_ZMAX // open pin, inverted
|
#define ENDSTOPPULLUP_ZMAX // open pin, inverted
|
||||||
@ -526,6 +525,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -852,17 +864,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1598,12 +1612,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 3000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 3000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -502,11 +502,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -516,6 +515,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -843,17 +855,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1589,12 +1603,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -871,17 +883,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1617,12 +1631,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -551,11 +551,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -565,6 +564,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -896,17 +908,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1642,12 +1656,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -491,11 +491,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -505,6 +504,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -831,17 +843,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1571,12 +1585,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -511,11 +511,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -525,6 +524,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -851,17 +863,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1597,12 +1611,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -491,11 +491,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -505,6 +504,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -831,17 +843,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1577,12 +1591,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -530,11 +530,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -544,6 +543,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -870,17 +882,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1619,12 +1633,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -49,6 +49,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 1000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 1000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1580,12 +1594,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -501,11 +501,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -515,6 +514,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
|
||||||
@ -841,17 +853,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1527,12 +1541,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -40,6 +40,17 @@
|
|||||||
//=============================Thermal Settings ============================
|
//=============================Thermal Settings ============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
||||||
|
//
|
||||||
|
// Hephestos 2 24V heated bed upgrade kit.
|
||||||
|
// https://store.bq.com/en/heated-bed-kit-hephestos2
|
||||||
|
//
|
||||||
|
//#define HEPHESTOS2_HEATED_BED_KIT
|
||||||
|
#if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
|
||||||
|
#undef TEMP_SENSOR_BED
|
||||||
|
#define TEMP_SENSOR_BED 70
|
||||||
|
#define HEATER_BED_INVERTING true
|
||||||
|
#endif
|
||||||
|
|
||||||
#if DISABLED(PIDTEMPBED)
|
#if DISABLED(PIDTEMPBED)
|
||||||
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
#define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
|
||||||
#if ENABLED(BED_LIMIT_SWITCHING)
|
#if ENABLED(BED_LIMIT_SWITCHING)
|
||||||
|
@ -500,11 +500,10 @@
|
|||||||
//#define USE_YMAX_PLUG
|
//#define USE_YMAX_PLUG
|
||||||
//#define USE_ZMAX_PLUG
|
//#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -514,6 +513,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -840,17 +852,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1586,12 +1600,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
@ -579,11 +579,10 @@
|
|||||||
#define USE_YMAX_PLUG
|
#define USE_YMAX_PLUG
|
||||||
#define USE_ZMAX_PLUG
|
#define USE_ZMAX_PLUG
|
||||||
|
|
||||||
// coarse Endstop Settings
|
// Enable pullup for all endstops to prevent a floating state
|
||||||
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors
|
#define ENDSTOPPULLUPS
|
||||||
|
|
||||||
#if DISABLED(ENDSTOPPULLUPS)
|
#if DISABLED(ENDSTOPPULLUPS)
|
||||||
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
|
// Disable ENDSTOPPULLUPS to set pullups individually
|
||||||
//#define ENDSTOPPULLUP_XMAX
|
//#define ENDSTOPPULLUP_XMAX
|
||||||
//#define ENDSTOPPULLUP_YMAX
|
//#define ENDSTOPPULLUP_YMAX
|
||||||
//#define ENDSTOPPULLUP_ZMAX
|
//#define ENDSTOPPULLUP_ZMAX
|
||||||
@ -593,6 +592,19 @@
|
|||||||
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
//#define ENDSTOPPULLUP_ZMIN_PROBE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Enable pulldown for all endstops to prevent a floating state
|
||||||
|
//#define ENDSTOPPULLDOWNS
|
||||||
|
#if DISABLED(ENDSTOPPULLDOWNS)
|
||||||
|
// Disable ENDSTOPPULLDOWNS to set pulldowns individually
|
||||||
|
//#define ENDSTOPPULLDOWN_XMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_YMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMAX
|
||||||
|
//#define ENDSTOPPULLDOWN_XMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_YMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN
|
||||||
|
//#define ENDSTOPPULLDOWN_ZMIN_PROBE
|
||||||
|
#endif
|
||||||
|
|
||||||
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
|
||||||
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
|
||||||
@ -970,17 +982,19 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filament Runout Sensor
|
* Filament Runout Sensors
|
||||||
* A mechanical or opto endstop is used to check for the presence of filament.
|
* Mechanical or opto endstops are used to check for the presence of filament.
|
||||||
*
|
*
|
||||||
* RAMPS-based boards use SERVO3_PIN.
|
* RAMPS-based boards use SERVO3_PIN for the first runout sensor.
|
||||||
* For other boards you may need to define FIL_RUNOUT_PIN.
|
* For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
|
||||||
* By default the firmware assumes HIGH = has filament, LOW = ran out
|
* By default the firmware assumes HIGH=FILAMENT PRESENT.
|
||||||
*/
|
*/
|
||||||
//#define FILAMENT_RUNOUT_SENSOR
|
//#define FILAMENT_RUNOUT_SENSOR
|
||||||
#if ENABLED(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_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 FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
|
||||||
|
//#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
|
||||||
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
#define FILAMENT_RUNOUT_SCRIPT "M600"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -1720,12 +1734,13 @@
|
|||||||
//#define RA_CONTROL_PANEL
|
//#define RA_CONTROL_PANEL
|
||||||
|
|
||||||
//
|
//
|
||||||
// Sainsmart YW Robot (LCM1602) LCD Display
|
// Sainsmart (YwRobot) LCD Displays
|
||||||
//
|
//
|
||||||
// Note: This controller requires F.Malpartida's LiquidCrystal_I2C library
|
// These require F.Malpartida's LiquidCrystal_I2C library
|
||||||
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
// https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home
|
||||||
//
|
//
|
||||||
//#define LCD_I2C_SAINSMART_YWROBOT
|
//#define LCD_SAINSMART_I2C_1602
|
||||||
|
//#define LCD_SAINSMART_I2C_2004
|
||||||
|
|
||||||
//
|
//
|
||||||
// Generic LCM1602 LCD adapter
|
// Generic LCM1602 LCD adapter
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user