MKS MINI12864 V3 for MKS Robin Nano V2/3 (#22285)

This commit is contained in:
mks-viva 2021-07-09 17:59:36 -05:00 committed by Scott Lahteine
parent eb0d80cb19
commit 0c401bddad
3 changed files with 27 additions and 3 deletions

View File

@ -165,6 +165,7 @@
#define DOGLCD_MOSI PB15 #define DOGLCD_MOSI PB15
#elif ENABLED(MKS_MINI_12864_V3) #elif ENABLED(MKS_MINI_12864_V3)
#define ENABLE_SPI3
#define DOGLCD_CS PA4 #define DOGLCD_CS PA4
#define DOGLCD_A0 PA5 #define DOGLCD_A0 PA5
#define LCD_PINS_DC DOGLCD_A0 #define LCD_PINS_DC DOGLCD_A0
@ -173,9 +174,6 @@
#define NEOPIXEL_PIN PA7 #define NEOPIXEL_PIN PA7
#define DOGLCD_MOSI PB15 #define DOGLCD_MOSI PB15
#define DOGLCD_SCK PB13 #define DOGLCD_SCK PB13
#define FORCE_SOFT_SPI
#define SOFTWARE_SPI
//#define LCD_SCREEN_ROT_180
#else #else

View File

@ -341,6 +341,19 @@
#define BEEPER_PIN -1 #define BEEPER_PIN -1
#endif #endif
#elif ENABLED(MKS_MINI_12864_V3)
#define DOGLCD_CS PD13
#define DOGLCD_A0 PC6
#define LCD_PINS_DC DOGLCD_A0
#define LCD_BACKLIGHT_PIN -1
#define LCD_RESET_PIN PE14
#define NEOPIXEL_PIN PE15
#define DOGLCD_MOSI PA7
#define DOGLCD_SCK PA5
#if SD_CONNECTION_IS(ONBOARD)
#define FORCE_SOFT_SPI
#endif
#elif ENABLED(MKS_MINI_12864_V3) #elif ENABLED(MKS_MINI_12864_V3)
#define DOGLCD_CS PD13 #define DOGLCD_CS PD13
#define DOGLCD_A0 PC6 #define DOGLCD_A0 PC6

View File

@ -366,6 +366,19 @@
//#define MKS_LCD12864B //#define MKS_LCD12864B
//#undef SHOW_BOOTSCREEN //#undef SHOW_BOOTSCREEN
#elif ENABLED(MKS_MINI_12864_V3)
#define DOGLCD_CS PD13
#define DOGLCD_A0 PC6
#define LCD_PINS_DC DOGLCD_A0
#define LCD_BACKLIGHT_PIN -1
#define LCD_RESET_PIN PE14
#define NEOPIXEL_PIN PE15
#define DOGLCD_MOSI PA7
#define DOGLCD_SCK PA5
#if SD_CONNECTION_IS(ONBOARD)
#define FORCE_SOFT_SPI
#endif
#elif ENABLED(MKS_MINI_12864_V3) #elif ENABLED(MKS_MINI_12864_V3)
#define DOGLCD_CS PD13 #define DOGLCD_CS PD13
#define DOGLCD_A0 PC6 #define DOGLCD_A0 PC6