Define ANET_FULL_GRAPHICS_LCD pins for SKR 1.4 (#16928)

This commit is contained in:
ZMiguel Alves 2020-02-23 00:45:10 +00:00 committed by GitHub
parent 7bf3581b02
commit 2471a8bb91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,9 +232,19 @@
* EXP2 EXP1
*/
#if HAS_SPI_LCD
#define BTN_ENC P0_28 // (58) open-drain
#if ENABLED(ANET_FULL_GRAPHICS_LCD)
#if ENABLED(CR10_STOCKDISPLAY)
#define LCD_PINS_RS P1_23
#define BTN_EN1 P1_20
#define BTN_EN2 P1_22
#define BTN_ENC P1_18
#define LCD_PINS_ENABLE P1_21
#define LCD_PINS_D4 P1_19
#elif ENABLED(CR10_STOCKDISPLAY)
#define BTN_ENC P0_28 // (58) open-drain
#define LCD_PINS_RS P1_22
#define BTN_EN1 P1_18
@ -244,6 +254,7 @@
#define LCD_PINS_D4 P1_21
#else
#define BTN_ENC P0_28 // (58) open-drain
#define LCD_PINS_RS P1_19
#define BTN_EN1 P3_26 // (31) J3-2 & AUX-4