mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 07:17:59 +00:00
✨ Ender-3 V2 LCD with SKR 3[EZ] (#27061)
This commit is contained in:
parent
98d09e5304
commit
5a6db519d6
@ -1311,7 +1311,8 @@
|
|||||||
* currently HAL.h must be included ahead of pins.h.
|
* currently HAL.h must be included ahead of pins.h.
|
||||||
*/
|
*/
|
||||||
#if LCD_IS_SERIAL_HOST && !defined(LCD_SERIAL_PORT)
|
#if LCD_IS_SERIAL_HOST && !defined(LCD_SERIAL_PORT)
|
||||||
#if MB(MKS_MONSTER8_V1, BTT_SKR_MINI_E3_V1_0, BTT_SKR_MINI_E3_V1_2, BTT_SKR_MINI_E3_V2_0, BTT_SKR_MINI_E3_V3_0, BTT_SKR_MINI_E3_V3_0_1, BTT_SKR_E3_TURBO, BTT_OCTOPUS_V1_1, AQUILA_V101)
|
#if MB(MKS_MONSTER8_V1, BTT_SKR_MINI_E3_V1_0, BTT_SKR_MINI_E3_V1_2, BTT_SKR_MINI_E3_V2_0, BTT_SKR_MINI_E3_V3_0, BTT_SKR_MINI_E3_V3_0_1, BTT_SKR_E3_TURBO, BTT_OCTOPUS_V1_1, BTT_SKR_V3_0, BTT_SKR_V3_0_EZ, AQUILA_V101)
|
||||||
|
|
||||||
#define LCD_SERIAL_PORT 1
|
#define LCD_SERIAL_PORT 1
|
||||||
#elif MB(CREALITY_V24S1_301, CREALITY_V24S1_301F4, CREALITY_F401RE, CREALITY_V423, CREALITY_CR4NTXXC10, MKS_ROBIN, PANOWIN_CUTLASS, KODAMA_BARDO)
|
#elif MB(CREALITY_V24S1_301, CREALITY_V24S1_301F4, CREALITY_F401RE, CREALITY_V423, CREALITY_CR4NTXXC10, MKS_ROBIN, PANOWIN_CUTLASS, KODAMA_BARDO)
|
||||||
#define LCD_SERIAL_PORT 2
|
#define LCD_SERIAL_PORT 2
|
||||||
|
@ -440,6 +440,29 @@
|
|||||||
#define TFTGLCD_CS EXP2_03_PIN
|
#define TFTGLCD_CS EXP2_03_PIN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#elif HAS_DWIN_E3V2 || IS_DWIN_MARLINUI
|
||||||
|
/**
|
||||||
|
* ------ ------ ---
|
||||||
|
* | 1 2 | | 1 2 | 1 |
|
||||||
|
* | 3 4 | RX | 3 4 | TX | 2 | RX
|
||||||
|
* ENT 5 6 | BEEP ENT 5 6 | BEEP | 3 | TX
|
||||||
|
* B | 7 8 | A B | 7 8 | A | 4 |
|
||||||
|
* GND | 9 10 | VCC GND | 9 10 | VCC 5 |
|
||||||
|
* ------ ------ ---
|
||||||
|
* EXP1 DWIN TFT
|
||||||
|
*
|
||||||
|
* DWIN pins are labeled as printed on DWIN PCB. GND, VCC, A, B, ENT & BEEP can be connected in the same
|
||||||
|
* orientation as the existing plug/DWIN to EXP1. TX/RX need to be connected to the TFT port, with TX->RX, RX->TX.
|
||||||
|
*/
|
||||||
|
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
||||||
|
#error "CAUTION! Ender-3 V2 display requires a custom cable. See 'pins_BTT_SKR_V3_0_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define BEEPER_PIN EXP1_06_PIN
|
||||||
|
#define BTN_EN1 EXP1_08_PIN
|
||||||
|
#define BTN_EN2 EXP1_07_PIN
|
||||||
|
#define BTN_ENC EXP1_05_PIN
|
||||||
|
|
||||||
#elif HAS_WIRED_LCD
|
#elif HAS_WIRED_LCD
|
||||||
|
|
||||||
#define BEEPER_PIN EXP1_01_PIN
|
#define BEEPER_PIN EXP1_01_PIN
|
||||||
|
Loading…
Reference in New Issue
Block a user