diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index ddf9e2d5f14e6..4df3f725e1822 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -2534,7 +2534,7 @@ M503 // RepRapDiscount FULL GRAPHIC Smart Controller // https://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller // -#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER +//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER // // K.3D Full Graphic Smart Controller @@ -2605,7 +2605,7 @@ M503 // MKS MINI12864 with graphic controller and SD support // https://reprap.org/wiki/MKS_MINI_12864 // -//#define MKS_MINI_12864 +#define MKS_MINI_12864 // // MKS MINI12864 V3 is an alias for FYSETC_MINI_12864_2_1. Type A/B. NeoPixel RGB Backlight. diff --git a/Marlin/src/pins/lpc1769/pins_MKS_SGEN.h b/Marlin/src/pins/lpc1769/pins_MKS_SGEN.h index 4c4126bd1db25..26a9aa84ea664 100644 --- a/Marlin/src/pins/lpc1769/pins_MKS_SGEN.h +++ b/Marlin/src/pins/lpc1769/pins_MKS_SGEN.h @@ -299,6 +299,18 @@ #endif // HAS_WIRED_LCD + +// Note, MKS SBASE/SGEN has no connection of DOGLCD_CS and DOGLCD_A0. +// Use modification described at https://github.com/makerbase-mks/MKS-SBASE/issues/101 +#ifdef MKS_MINI_12864 + #define DOGLCD_CS P0_16 + #define DOGLCD_A0 P0_15 + #define DOGLCD_SCK P0_07 + #define DOGLCD_MOSI P0_09 + #define FORCE_SOFT_SPI // use software SPI; possible reason is the same as the FYSETC_MINI_12864. + #define SOFTWARE_SPI +#endif + /** * Example for trinamic drivers using the J8 connector on MKs Sbase. * 2130s need 1 pin for each driver. 2208/2209s need 2 pins for serial control.