Support Fysetc Mini 12864 + GT2560 A(+) (#19878)

This commit is contained in:
René Pasold 2020-10-25 09:43:21 +01:00 committed by GitHub
parent 8cc0369d97
commit ec04517710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,20 @@
#define DOGLCD_CS 21 #define DOGLCD_CS 21
#define BTN_EN1 40 #define BTN_EN1 40
#define BTN_EN2 42 #define BTN_EN2 42
#elif ENABLED(FYSETC_MINI_12864)
// Disconnect EXP2-1 and EXP2-2, otherwise future firmware upload won't work.
#define DOGLCD_A0 20
#define DOGLCD_CS 17
#define NEOPIXEL_PIN 21
#define BTN_EN1 42
#define BTN_EN2 40
#define LCD_RESET_PIN 16
#define DEFAULT_LCD_CONTRAST 220
#define LCD_BACKLIGHT_PIN -1
#else #else
#define LCD_PINS_RS 20 #define LCD_PINS_RS 20
#define LCD_PINS_ENABLE 17 #define LCD_PINS_ENABLE 17