FYSETC_MINI_12864 pins for SKR PRO 1.1 (#15253)

This commit is contained in:
Evgeny Zyatkov 2019-09-14 14:22:30 +03:00 committed by Scott Lahteine
parent 3d0ead7dcb
commit 61e3f119f4

View file

@ -220,6 +220,26 @@
#define LCD_PINS_ENABLE PD11
#define LCD_PINS_D4 PG2
#if ENABLED(FYSETC_MINI_12864)
#define DOGLCD_CS PD11
#define DOGLCD_A0 PD10
//#define LCD_BACKLIGHT_PIN -1
#define LCD_RESET_PIN PG2 // Must be high or open for LCD to operate normally.
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
#ifndef RGB_LED_R_PIN
#define RGB_LED_R_PIN PG3
#endif
#ifndef RGB_LED_G_PIN
#define RGB_LED_G_PIN PG6
#endif
#ifndef RGB_LED_B_PIN
#define RGB_LED_B_PIN PG7
#endif
#elif ENABLED(FYSETC_MINI_12864_2_1)
#define NEOPIXEL_PIN PG3
#endif
#endif // !FYSETC_MINI_12864
#if ENABLED(ULTIPANEL)
#define LCD_PINS_D5 PG3
#define LCD_PINS_D6 PG6