Fix Ender 2 display SCK, BTN_ENC pins (#15997)

This commit is contained in:
Heilig Benedek 2019-11-26 10:48:21 +01:00 committed by Scott Lahteine
parent ff6518c0a8
commit 993802c404

View file

@ -144,15 +144,17 @@
* (MOSI) PB7 | · · | PB8 (LCD_RS) * (MOSI) PB7 | · · | PB8 (LCD_RS)
* (LCD_A0) PB9 | · · | PA10 (BTN_EN2) * (LCD_A0) PB9 | · · | PA10 (BTN_EN2)
* RESET | · · | PA9 (BTN_EN1) * RESET | · · | PA9 (BTN_EN1)
* (BTN_ENC) PB6 | · · | PA15 (SCK) * (BTN_ENC) PB6 | · · | PB5 (SCK)
* ----- * -----
* EXP1 * EXP1
*/ */
#define BTN_EN1 PA9 #define BTN_EN1 PA9
#define BTN_EN2 PA10 #define BTN_EN2 PA10
#define BTN_ENC PB6
#define DOGLCD_CS PB8 #define DOGLCD_CS PB8
#define DOGLCD_A0 PB9 #define DOGLCD_A0 PB9
#define DOGLCD_SCK PA15 #define DOGLCD_SCK PB5
#define DOGLCD_MOSI PB7 #define DOGLCD_MOSI PB7
#define FORCE_SOFT_SPI #define FORCE_SOFT_SPI
#define LCD_BACKLIGHT_PIN -1 #define LCD_BACKLIGHT_PIN -1