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