|
163 | 163 | #if ENABLED(CR10_STOCKDISPLAY)
|
164 | 164 |
|
165 | 165 | #define BEEPER_PIN EXP1_01_PIN
|
166 |
| - #define BTN_ENC EXP1_02_PIN |
167 | 166 |
|
| 167 | + #define BTN_ENC EXP1_02_PIN |
168 | 168 | #define BTN_EN1 EXP1_03_PIN
|
169 | 169 | #define BTN_EN2 EXP1_05_PIN
|
170 | 170 |
|
171 | 171 | #define LCD_PINS_RS EXP1_07_PIN
|
172 | 172 | #define LCD_PINS_ENABLE EXP1_08_PIN
|
173 | 173 | #define LCD_PINS_D4 EXP1_06_PIN
|
174 | 174 |
|
| 175 | + #elif ENABLED(LCD_FOR_MELZI) |
| 176 | + |
| 177 | + #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING |
| 178 | + #error "CAUTION! LCD for Melzi v4 display requires a custom cable. See 'pins_BTT_SKR_MINI_E3_common.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)" |
| 179 | + #endif |
| 180 | + |
| 181 | + /** |
| 182 | + * LCD for Melzi v4 needs a custom cable with reversed GND/5V pins; plugging in a standard cable may damage the board or LCD! |
| 183 | + * 1. Swap the LCD's +5V (Pin2) and GND (Pin1) wires. (This is the critical part!) |
| 184 | + * 2. Swap pin 4 on the Melzi LCD to pin 7 on the SKR Mini E3 EXP1 connector (pin 4 on the SKR is a RESET and cannot be used) |
| 185 | + * |
| 186 | + * LCD for Melzi V4 SKR Mini E3 V2.0 |
| 187 | + * ------ ------ |
| 188 | + * LCD RS | 1 2 | EN1 LCD RS | 1 2 | EN1 |
| 189 | + * LCD EN | 3 4 | EN2 LCD EN | 3 4 | OPEN (RESET) |
| 190 | + * LCD D4 | 5 6 | ENC LCD D4 | 5 6 | ENC |
| 191 | + * E-Stop | 7 8 | BEEP EN2 | 7 8 | BEEP |
| 192 | + * 5V | 9 10 | GND GND | 9 10 | 5V |
| 193 | + * ------ ------ |
| 194 | + * EXP1 EXP1 |
| 195 | + */ |
| 196 | + #define BEEPER_PIN EXP1_08_PIN |
| 197 | + |
| 198 | + #define BTN_ENC EXP1_06_PIN |
| 199 | + #define BTN_EN1 EXP1_02_PIN |
| 200 | + #define BTN_EN2 EXP1_07_PIN |
| 201 | + |
| 202 | + #define LCD_PINS_RS EXP1_01_PIN |
| 203 | + #define LCD_PINS_ENABLE EXP1_03_PIN |
| 204 | + #define LCD_PINS_D4 EXP1_05_PIN |
| 205 | + |
175 | 206 | #elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!
|
176 | 207 |
|
177 | 208 | #ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
|
|
306 | 337 | #define FORCE_SOFT_SPI
|
307 | 338 |
|
308 | 339 | #else
|
309 |
| - #error "Only CR10_STOCKDISPLAY, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, TFTGLCD_PANEL_(SPI|I2C), FYSETC_MINI_12864_2_1, MKS_MINI_12864_V3, and BTT_MINI_12864_V1 are currently supported on the BIGTREE_SKR_MINI_E3." |
| 340 | + #error "Only CR10_STOCKDISPLAY, LCD_FOR_MELZI, ZONESTAR_LCD, ENDER2_STOCKDISPLAY, MKS_MINI_12864, TFTGLCD_PANEL_(SPI|I2C), FYSETC_MINI_12864_2_1, MKS_MINI_12864_V3, and BTT_MINI_12864_V1 are currently supported on the BIGTREE_SKR_MINI_E3." |
310 | 341 | #endif
|
311 | 342 |
|
312 | 343 | #endif // HAS_WIRED_LCD
|
|
0 commit comments