🧑💻 IS_ULTRA_LCD => HAS_WIRED_LCD
This commit is contained in:
committed by
Scott Lahteine
parent
2f3960904e
commit
f6f31434b8
@ -106,7 +106,7 @@
|
||||
//
|
||||
#define BEEPER_PIN 33
|
||||
|
||||
#if IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#if HAS_WIRED_LCD && IS_NEWPANEL
|
||||
|
||||
#define LCD_PINS_RS 16
|
||||
#define LCD_PINS_ENABLE 17
|
||||
@ -122,7 +122,7 @@
|
||||
|
||||
#define SD_DETECT_PIN -1 // RAMPS doesn't use this
|
||||
|
||||
#endif // IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#endif // HAS_WIRED_LCD && IS_NEWPANEL
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
|
@ -61,7 +61,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !(BOTH(IS_ULTRA_LCD, IS_NEWPANEL) && ANY(PANEL_ONE, VIKI2, miniVIKI, WYH_L12864, MINIPANEL, REPRAPWORLD_KEYPAD))
|
||||
#if !(BOTH(HAS_WIRED_LCD, IS_NEWPANEL) && ANY(PANEL_ONE, VIKI2, miniVIKI, WYH_L12864, MINIPANEL, REPRAPWORLD_KEYPAD))
|
||||
#define HAS_FREE_AUX2_PINS 1
|
||||
#endif
|
||||
|
||||
|
@ -111,7 +111,7 @@
|
||||
#define SPINDLE_LASER_PWM_PIN 46 // Hardware PWM
|
||||
#define SPINDLE_LASER_ENA_PIN 62 // Pullup!
|
||||
#define SPINDLE_DIR_PIN 48
|
||||
#elif !BOTH(IS_ULTRA_LCD, IS_NEWPANEL) // Use expansion header if no LCD in use
|
||||
#elif !BOTH(HAS_WIRED_LCD, IS_NEWPANEL) // Use expansion header if no LCD in use
|
||||
#define SPINDLE_LASER_ENA_PIN 16 // Pullup or pulldown!
|
||||
#define SPINDLE_DIR_PIN 17
|
||||
#if !NUM_SERVOS // Use servo connector if possible
|
||||
@ -135,7 +135,7 @@
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#if HAS_WIRED_LCD && IS_NEWPANEL
|
||||
#undef BEEPER_PIN
|
||||
|
||||
// TODO: Remap EXP1/2 based on adapter
|
||||
@ -164,7 +164,7 @@
|
||||
|
||||
#define BEEPER_PIN 33
|
||||
|
||||
#endif // IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#endif // HAS_WIRED_LCD && IS_NEWPANEL
|
||||
|
||||
#if IS_U8GLIB_ST7920
|
||||
#define BOARD_ST7920_DELAY_1 0
|
||||
|
@ -49,7 +49,7 @@
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#if HAS_WIRED_LCD && IS_NEWPANEL
|
||||
|
||||
#define SD_DETECT_PIN 6
|
||||
|
||||
|
@ -69,7 +69,7 @@
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#if HAS_WIRED_LCD && IS_NEWPANEL
|
||||
#undef BEEPER_PIN
|
||||
|
||||
#undef LCD_PINS_RS
|
||||
|
@ -172,7 +172,7 @@
|
||||
#define LCD_PINS_D6 32
|
||||
#define LCD_PINS_D7 30
|
||||
|
||||
#elif BOTH(BOARD_REV_1_5, IS_ULTRA_LCD)
|
||||
#elif BOTH(BOARD_REV_1_5, HAS_WIRED_LCD)
|
||||
|
||||
#define BEEPER_PIN 18
|
||||
|
||||
|
@ -135,7 +135,7 @@
|
||||
#define LCD_BACKLIGHT_PIN 17 // LCD backlight LED
|
||||
#endif
|
||||
|
||||
#if !HAS_CUTTER && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(IS_ULTRA_LCD, IS_NEWPANEL) // try to use IO Header
|
||||
#if !HAS_CUTTER && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(HAS_WIRED_LCD, IS_NEWPANEL) // try to use IO Header
|
||||
#define CASE_LIGHT_PIN 4 // Hardware PWM - see if IO Header is available
|
||||
#endif
|
||||
|
||||
@ -268,7 +268,7 @@
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
//
|
||||
#if HAS_CUTTER
|
||||
#if !MB(AZTEEG_X1) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(IS_ULTRA_LCD, IS_NEWPANEL) // try to use IO Header
|
||||
#if !MB(AZTEEG_X1) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(HAS_WIRED_LCD, IS_NEWPANEL) // try to use IO Header
|
||||
|
||||
#define SPINDLE_LASER_ENA_PIN 10 // Pullup or pulldown!
|
||||
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM
|
||||
|
@ -121,7 +121,7 @@
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#if HAS_WIRED_LCD && IS_NEWPANEL
|
||||
|
||||
#define LCD_PINS_RS 9 // E1 JP11-11
|
||||
#define LCD_PINS_ENABLE 8 // E0 JP11-10
|
||||
@ -163,7 +163,7 @@
|
||||
|
||||
#endif
|
||||
|
||||
#endif // IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#endif // HAS_WIRED_LCD && IS_NEWPANEL
|
||||
|
||||
#ifndef SDSS
|
||||
#define SDSS 26 // B6 SDCS
|
||||
|
@ -145,7 +145,7 @@
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#if IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#if HAS_WIRED_LCD && IS_NEWPANEL
|
||||
|
||||
#define BEEPER_PIN -1
|
||||
|
||||
@ -158,7 +158,7 @@
|
||||
|
||||
#define SD_DETECT_PIN -1
|
||||
|
||||
#endif // IS_ULTRA_LCD && IS_NEWPANEL
|
||||
#endif // HAS_WIRED_LCD && IS_NEWPANEL
|
||||
|
||||
//
|
||||
// M3/M4/M5 - Spindle/Laser Control
|
||||
|
Reference in New Issue
Block a user