|
@ -502,62 +502,60 @@ |
|
|
#define SD_DETECT_PIN 49 |
|
|
#define SD_DETECT_PIN 49 |
|
|
#define KILL_PIN 41 |
|
|
#define KILL_PIN 41 |
|
|
|
|
|
|
|
|
#elif ENABLED(MKS_MINI_12864) // Added in Marlin 1.1.6
|
|
|
#elif EITHER(MKS_MINI_12864, FYSETC_MINI_12864) |
|
|
|
|
|
|
|
|
#define DOGLCD_A0 27 |
|
|
|
|
|
#define DOGLCD_CS 25 |
|
|
|
|
|
|
|
|
|
|
|
// GLCD features
|
|
|
|
|
|
// Uncomment screen orientation
|
|
|
|
|
|
//#define LCD_SCREEN_ROT_90
|
|
|
|
|
|
//#define LCD_SCREEN_ROT_180
|
|
|
|
|
|
//#define LCD_SCREEN_ROT_270
|
|
|
|
|
|
|
|
|
|
|
|
#define BEEPER_PIN 37 |
|
|
#define BEEPER_PIN 37 |
|
|
// not connected to a pin
|
|
|
|
|
|
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
|
|
|
|
|
|
|
|
|
|
|
|
#define BTN_EN1 31 |
|
|
|
|
|
#define BTN_EN2 33 |
|
|
|
|
|
#define BTN_ENC 35 |
|
|
#define BTN_ENC 35 |
|
|
|
|
|
|
|
|
#define SD_DETECT_PIN 49 |
|
|
#define SD_DETECT_PIN 49 |
|
|
#define KILL_PIN 41 |
|
|
#define KILL_PIN 41 |
|
|
|
|
|
|
|
|
#elif ENABLED(FYSETC_MINI_12864) // Added in Marlin 1.1.9+
|
|
|
#if ENABLED(MKS_MINI_12864) // Added in Marlin 1.1.6
|
|
|
|
|
|
|
|
|
// From https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8
|
|
|
#define DOGLCD_A0 27 |
|
|
#define BEEPER_PIN 37 |
|
|
#define DOGLCD_CS 25 |
|
|
|
|
|
|
|
|
#define DOGLCD_A0 16 |
|
|
// GLCD features
|
|
|
#define DOGLCD_CS 17 |
|
|
// Uncomment screen orientation
|
|
|
|
|
|
//#define LCD_SCREEN_ROT_90
|
|
|
|
|
|
//#define LCD_SCREEN_ROT_180
|
|
|
|
|
|
//#define LCD_SCREEN_ROT_270
|
|
|
|
|
|
|
|
|
#define BTN_EN1 31 |
|
|
// not connected to a pin
|
|
|
#define BTN_EN2 33 |
|
|
#define LCD_BACKLIGHT_PIN 65 // backlight LED on A11/D65
|
|
|
#define BTN_ENC 35 |
|
|
|
|
|
|
|
|
|
|
|
#define SD_DETECT_PIN 49 |
|
|
#define BTN_EN1 31 |
|
|
|
|
|
#define BTN_EN2 33 |
|
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(FYSETC_MINI_12864) |
|
|
|
|
|
|
|
|
|
|
|
// From https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8
|
|
|
|
|
|
|
|
|
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
|
|
|
#define DOGLCD_A0 16 |
|
|
// results in LCD soft SPI mode 3, SD soft SPI mode 0
|
|
|
#define DOGLCD_CS 17 |
|
|
|
|
|
|
|
|
#define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
|
|
|
#define BTN_EN1 33 |
|
|
|
|
|
#define BTN_EN2 31 |
|
|
|
|
|
|
|
|
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) |
|
|
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
|
|
|
#ifndef RGB_LED_R_PIN |
|
|
// results in LCD soft SPI mode 3, SD soft SPI mode 0
|
|
|
#define RGB_LED_R_PIN 25 |
|
|
|
|
|
#endif |
|
|
#define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
|
|
|
#ifndef RGB_LED_G_PIN |
|
|
|
|
|
#define RGB_LED_G_PIN 27 |
|
|
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0) |
|
|
#endif |
|
|
#ifndef RGB_LED_R_PIN |
|
|
#ifndef RGB_LED_B_PIN |
|
|
#define RGB_LED_R_PIN 25 |
|
|
#define RGB_LED_B_PIN 29 |
|
|
#endif |
|
|
|
|
|
#ifndef RGB_LED_G_PIN |
|
|
|
|
|
#define RGB_LED_G_PIN 27 |
|
|
|
|
|
#endif |
|
|
|
|
|
#ifndef RGB_LED_B_PIN |
|
|
|
|
|
#define RGB_LED_B_PIN 29 |
|
|
|
|
|
#endif |
|
|
|
|
|
#elif ENABLED(FYSETC_MINI_12864_2_1) |
|
|
|
|
|
#define NEOPIXEL_PIN 25 |
|
|
#endif |
|
|
#endif |
|
|
#elif ENABLED(FYSETC_MINI_12864_2_1) |
|
|
|
|
|
#define NEOPIXEL_PIN 25 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#elif ENABLED(MINIPANEL) |
|
|
#elif ENABLED(MINIPANEL) |
|
|
|
|
|
|
|
|