Fix CR-20 / Pro runout pin & contrast

This commit is contained in:
Scott Lahteine 2020-07-17 11:17:21 -05:00
parent 3c7ea4d56a
commit 941346e7f7
2 changed files with 8 additions and 2 deletions

View file

@ -1178,7 +1178,7 @@
#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present. #define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. #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_PULLDOWN // Use internal pulldown for filament runout pins.
#define FIL_RUNOUT_PIN 2 #define FIL_RUNOUT_PIN 2 // Creality CR20-S stock sensor
// Set one or more commands to execute on filament runout. // Set one or more commands to execute on filament runout.
// (After 'M412 H' Marlin will ask the host to handle the process.) // (After 'M412 H' Marlin will ask the host to handle the process.)
@ -2006,6 +2006,9 @@
// https://reprap.org/wiki/MKS_MINI_12864 // https://reprap.org/wiki/MKS_MINI_12864
// //
#define MKS_MINI_12864 #define MKS_MINI_12864
#define LCD_CONTRAST_MIN 140
#define LCD_CONTRAST_INIT 155
#define LCD_CONTRAST_MAX 165
// //
// MKS LCD12864A/B with graphic controller and SD support. Follows MKS_MINI_12864 pinout. // MKS LCD12864A/B with graphic controller and SD support. Follows MKS_MINI_12864 pinout.

View file

@ -1178,7 +1178,7 @@
#define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present. #define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present.
#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. #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_PULLDOWN // Use internal pulldown for filament runout pins.
#define FIL_RUNOUT_PIN 2 #define FIL_RUNOUT_PIN 2 // Creality CR20-S stock sensor
// Set one or more commands to execute on filament runout. // Set one or more commands to execute on filament runout.
// (After 'M412 H' Marlin will ask the host to handle the process.) // (After 'M412 H' Marlin will ask the host to handle the process.)
@ -2006,6 +2006,9 @@
// https://reprap.org/wiki/MKS_MINI_12864 // https://reprap.org/wiki/MKS_MINI_12864
// //
#define MKS_MINI_12864 #define MKS_MINI_12864
#define LCD_CONTRAST_MIN 140
#define LCD_CONTRAST_INIT 155
#define LCD_CONTRAST_MAX 165
// //
// MKS LCD12864A/B with graphic controller and SD support. Follows MKS_MINI_12864 pinout. // MKS LCD12864A/B with graphic controller and SD support. Follows MKS_MINI_12864 pinout.