1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-28 22:35:21 +00:00

ENDER2_STOCKDISPLAY for BTT SKR 1.4 (and Turbo) (#19002)

This commit is contained in:
Tommy Hartmann 2020-08-14 15:35:53 +02:00 committed by Scott Lahteine
parent a99c844296
commit c9ddbaa2c0

View File

@ -250,6 +250,30 @@
#define LCD_PINS_ENABLE P1_23
#define LCD_PINS_D4 P1_21
#elif ENABLED(ENDER2_STOCKDISPLAY)
/** Creality Ender-2 display pinout
* _____
* 5V | 1 2 | GND
* (MOSI) 1.23 | 3 4 | 1.22 (LCD_RS)
* (LCD_A0) 1.21 | 5 6 | 1.20 (BTN_EN2)
* RESET 1.19 | 7 8 | 1.18 (BTN_EN1)
* (BTN_ENC) 0.28 | 9 10| 1.30 (SCK)
* -----
* EXP1
*/
#define BTN_EN1 P1_18
#define BTN_EN2 P1_20
#define BTN_ENC P0_28
#define DOGLCD_CS P1_22
#define DOGLCD_A0 P1_21
#define DOGLCD_SCK P1_30
#define DOGLCD_MOSI P1_23
#define FORCE_SOFT_SPI
#define LCD_BACKLIGHT_PIN -1
#else
#define BTN_ENC P0_28 // (58) open-drain