본문으로 건너뛰기

12864

Klipper 구성

정보
  • EXP 인터페이스에 올바르게 연결된 후, 예제 구성에서 mini12864 부분의 주석을 해제하면 됩니다

Marlin 구성 방법

  • 구성에 추가하면 됩니다
    #if HAS_WIRED_LCD

    #define BEEPER_PIN EXP1_10_PIN
    #define BTN_ENC EXP1_09_PIN

    #if ENABLED(CR10_STOCKDISPLAY)

    #define LCD_PINS_RS EXP1_07_PIN

    #define BTN_EN1 EXP2_08_PIN
    #define BTN_EN2 EXP2_06_PIN

    #define LCD_PINS_ENABLE EXP1_08_PIN
    #define LCD_PINS_D4 EXP1_06_PIN

    #elif ENABLED(MKS_MINI_12864)

    #define DOGLCD_A0 EXP1_04_PIN
    #define DOGLCD_CS EXP1_05_PIN
    #define BTN_EN1 EXP2_08_PIN
    #define BTN_EN2 EXP2_06_PIN

    #else

    #define LCD_PINS_RS EXP1_07_PIN

    #define BTN_EN1 EXP2_06_PIN
    #define BTN_EN2 EXP2_08_PIN

    #define LCD_PINS_ENABLE EXP1_08_PIN
    #define LCD_PINS_D4 EXP1_06_PIN

    #if ENABLED(FYSETC_MINI_12864)
    #define DOGLCD_CS EXP1_08_PIN
    #define DOGLCD_A0 EXP1_07_PIN
    //#define LCD_BACKLIGHT_PIN -1
    #define LCD_RESET_PIN EXP1_06_PIN // 정상 작동을 위해 높거나 열린 상태여야 합니다.
    #if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
    #ifndef RGB_LED_R_PIN
    #define RGB_LED_R_PIN EXP1_05_PIN
    #endif
    #ifndef RGB_LED_G_PIN
    #define RGB_LED_G_PIN EXP1_04_PIN
    #endif
    #ifndef RGB_LED_B_PIN
    #define RGB_LED_B_PIN EXP1_03_PIN
    #endif
    #elif ENABLED(FYSETC_MINI_12864_2_1)
    #define NEOPIXEL_PIN EXP1_05_PIN
    #endif
    #endif // !FYSETC_MINI_12864

    #if IS_ULTIPANEL
    #define LCD_PINS_D5 EXP1_05_PIN
    #define LCD_PINS_D6 EXP1_04_PIN
    #define LCD_PINS_D7 EXP1_03_PIN

    #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
    #define BTN_ENC_EN LCD_PINS_D7 // 인코더의 존재를 감지합니다
    #endif

    #endif

    #endif

    #endif // HAS_WIRED_LCD