CR10_STOCKDISPLAY support in Bigtreetech SKR (#13516)

This commit is contained in:
drzejkopf 2019-03-29 20:19:18 +01:00 committed by Scott Lahteine
parent 5679fae11e
commit b1f739e27b

View File

@ -179,6 +179,18 @@
#if ENABLED(ULTRA_LCD)
#define BEEPER_PIN P1_30 // (37) not 5V tolerant
#define BTN_ENC P0_28 // (58) open-drain
#if ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS P1_22
#define BTN_EN1 P1_18
#define BTN_EN2 P1_20
#define LCD_PINS_ENABLE P1_23
#define LCD_PINS_D4 P1_21
#else
#define LCD_PINS_RS P1_19
#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4
@ -195,6 +207,9 @@
#define LCD_PINS_D6 P1_22
#define LCD_PINS_D7 P1_23
#endif
#endif
#endif // ULTRA_LCD
//#define USB_SD_DISABLED