#elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
*
*------------
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
*PB5|12|PA15--|12|PB5(BTN_ENC)
#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
*PA9|34|RESET(LCDCS)PB8|34|PD6(LCD_A0)
*PA1056|PB9(RESET)PB956|PA15(DIN)
*PB8|78|PD6--|78|--
*GND|910|5VGND|910|5V
*------------
*EXP1EXP1
*/
#if ENABLED(FYSETC_MINI_12864_2_1)
#define BTN_ENC EXP1_01_PIN
#define BTN_EN1 EXP1_03_PIN
#define BTN_EN2 EXP1_05_PIN
#define BEEPER_PIN -1
#define LCD_RESET_PIN EXP1_06_PIN
#define DOGLCD_CS EXP1_07_PIN
#define DOGLCD_A0 EXP1_08_PIN
#define DOGLCD_SCK PA5
#define DOGLCD_MOSI PA7
#define FORCE_SOFT_SPI
#define LCD_BACKLIGHT_PIN -1
#define NEOPIXEL_PIN EXP1_02_PIN
#else
#error "Only CR10_FYSETC_MINI_12864_2_1 and compatibles are currently supported on the BIGTREE_SKR_MINI_E3 with SKR_MINI_SCREEN_ADAPTER"
#endif
#endif
#define LCD_PINS_RS PB9
#else
#define LCD_PINS_ENABLE EXP1_02_PIN
#define LCD_PINS_D4 PB8
#define LCD_PINS_D5 PA10
#define LCD_PINS_D6 PA9
#define LCD_PINS_D7 PB5
#define ADC_KEYPAD_PIN PA1 // Repurpose servo pin for ADC - CONNECTING TO 5V WILL DAMAGE THE BOARD!
#elif EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
#define BTN_ENC EXP1_02_PIN
#if ENABLED(CR10_STOCKDISPLAY)
#define BTN_EN1 PA9
#define BTN_EN2 PA10
#define DOGLCD_CS PB8
#define BEEPER_PIN EXP1_01_PIN
#define DOGLCD_A0 PB9
#define BTN_ENC EXP1_02_PIN
#define DOGLCD_SCK PB5
#define DOGLCD_MOSI EXP1_08_PIN
#define FORCE_SOFT_SPI
#define BTN_EN1 EXP1_03_PIN
#define LCD_BACKLIGHT_PIN -1
#define BTN_EN2 EXP1_05_PIN
#elif IS_TFTGLCD_PANEL
#define LCD_PINS_RS EXP1_07_PIN
#define LCD_PINS_ENABLE EXP1_08_PIN
#define LCD_PINS_D4 EXP1_06_PIN
#if ENABLED(TFTGLCD_PANEL_SPI)
#elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif
#endif
/**
#define LCD_PINS_RS EXP1_06_PIN
*TFTGLCD_PANEL_SPIdisplaypinout
#define LCD_PINS_ENABLE EXP1_02_PIN
*
#define LCD_PINS_D4 EXP1_07_PIN
*BoardDisplay
#define LCD_PINS_D5 EXP1_05_PIN
*------------
#define LCD_PINS_D6 EXP1_03_PIN
*(BEEPER)PB6|12|PB5(SD_DET)5V|12|GND
#define LCD_PINS_D7 EXP1_01_PIN
*RESET|34|PA9(MOD_RESET)--|34|(SD_DET)
#define ADC_KEYPAD_PIN PA1 // Repurpose servo pin for ADC - CONNECTING TO 5V WILL DAMAGE THE BOARD!
*PB956|PA10(SD_CS)(MOSI)|56|--
*PB7|78|PB8(LCD_CS)(SD_CS)|78|(LCD_CS)
#elif EITHER(MKS_MINI_12864, ENDER2_STOCKDISPLAY)
*GND|910|5V(SCK)|910|(MISO)
*------------
#define BTN_ENC EXP1_02_PIN
*EXP1EXP1
#define BTN_EN1 EXP1_03_PIN
*
#define BTN_EN2 EXP1_05_PIN
*Needscustomcable:
*
#define DOGLCD_CS EXP1_07_PIN
*BoardDisplay
#define DOGLCD_A0 EXP1_06_PIN
*
#define DOGLCD_SCK EXP1_01_PIN
*EXP1-1-----------EXP1-10
#define DOGLCD_MOSI EXP1_08_PIN
*EXP1-2-----------EXP1-9
*SPI1-4-----------EXP1-6
#define FORCE_SOFT_SPI
*EXP1-4-----------FREE
#define LCD_BACKLIGHT_PIN -1
*SPI1-3-----------EXP1-2
*EXP1-6-----------EXP1-4
#elif IS_TFTGLCD_PANEL
*EXP1-7-----------FREE
*EXP1-8-----------EXP1-3
#if ENABLED(TFTGLCD_PANEL_SPI)
*SPI1-1-----------EXP1-1
*EXP1-10-----------EXP1-7
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
*/
#error "CAUTION! TFTGLCD_PANEL_SPI requires wiring modifications. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif
/**
*TFTGLCD_PANEL_SPIdisplaypinout
*
*BoardDisplay
*------------
*(BEEPER)PB6|12|PB5(SD_DET)5V|12|GND
*RESET|34|PA9(MOD_RESET)--|34|(SD_DET)
*PB956|PA10(SD_CS)(MOSI)|56|--
*PB7|78|PB8(LCD_CS)(SD_CS)|78|(LCD_CS)
*GND|910|5V(SCK)|910|(MISO)
*------------
*EXP1EXP1
*
*Needscustomcable:
*
*BoardDisplay
*
*EXP1-1-----------EXP1-10
*EXP1-2-----------EXP1-9
*SPI1-4-----------EXP1-6
*EXP1-4-----------FREE
*SPI1-3-----------EXP1-2
*EXP1-6-----------EXP1-4
*EXP1-7-----------FREE
*EXP1-8-----------EXP1-3
*SPI1-1-----------EXP1-1
*EXP1-10-----------EXP1-7
*/
#define TFTGLCD_CS EXP1_03_PIN
#define TFTGLCD_CS PA9
#endif
#endif
#elif ENABLED(FYSETC_MINI_12864_2_1)
#elif ENABLED(FYSETC_MINI_12864_2_1)
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! FYSETC_MINI_12864_2_1 and clones require wiring modifications. See 'pins_BTT_SKR_MINI_E3_V3_0.h' for details. Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning"
#error "CAUTION! FYSETC_MINI_12864_2_1 and clones require wiring modifications. See 'pins_BTT_SKR_MINI_E3_V3_0.h' for details. Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning"
#error "Only CR10_STOCKDISPLAY, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, FYSETC_MINI_12864_2_1, and TFTGLCD_PANEL_(SPI|I2C) are currently supported on the BIGTREE_SKR_MINI_E3."
#error "Only CR10_STOCKDISPLAY, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, FYSETC_MINI_12864_2_1, and TFTGLCD_PANEL_(SPI|I2C) are currently supported on the BIGTREE_SKR_MINI_E3."