From abf96d6cdd87d51b12280c8fac513ef74b0b2655 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 17 Jul 2020 11:20:25 -0500 Subject: [PATCH] Fix CR-20 / Pro runout pin & contrast --- config/examples/Creality/CR-20 Pro/Configuration.h | 4 ++++ config/examples/Creality/CR-20/Configuration.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/config/examples/Creality/CR-20 Pro/Configuration.h b/config/examples/Creality/CR-20 Pro/Configuration.h index e463c56701..bb9267fd5b 100644 --- a/config/examples/Creality/CR-20 Pro/Configuration.h +++ b/config/examples/Creality/CR-20 Pro/Configuration.h @@ -1150,6 +1150,7 @@ #define FIL_RUNOUT_INVERTING false // Set to true to invert the logic of the sensor. #define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. //#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins. + #define FIL_RUNOUT_PIN 2 // Creality CR20-S stock sensor // Set one or more commands to execute on filament runout. // (After 'M412 H' Marlin will ask the host to handle the process.) @@ -1972,6 +1973,9 @@ // https://reprap.org/wiki/MKS_MINI_12864 // #define MKS_MINI_12864 +#define LCD_CONTRAST_MIN 140 +#define LCD_CONTRAST_INIT 155 +#define LCD_CONTRAST_MAX 165 // // FYSETC variant of the MINI12864 graphic controller with SD support diff --git a/config/examples/Creality/CR-20/Configuration.h b/config/examples/Creality/CR-20/Configuration.h index 406da21368..4708d0c50b 100644 --- a/config/examples/Creality/CR-20/Configuration.h +++ b/config/examples/Creality/CR-20/Configuration.h @@ -1150,6 +1150,7 @@ #define FIL_RUNOUT_INVERTING false // Set to true to invert the logic of the sensor. #define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. //#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins. + #define FIL_RUNOUT_PIN 2 // Creality CR20-S stock sensor // Set one or more commands to execute on filament runout. // (After 'M412 H' Marlin will ask the host to handle the process.) @@ -1972,6 +1973,9 @@ // https://reprap.org/wiki/MKS_MINI_12864 // #define MKS_MINI_12864 +#define LCD_CONTRAST_MIN 140 +#define LCD_CONTRAST_INIT 155 +#define LCD_CONTRAST_MAX 165 // // FYSETC variant of the MINI12864 graphic controller with SD support