|
|
@ -141,22 +141,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(ULTRA_LCD)
|
|
|
|
#if ENABLED(ULTRA_LCD)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
|
|
|
|
|
|
|
|
#define LCD_PINS_RS 40
|
|
|
|
|
|
|
|
#define LCD_PINS_ENABLE 42
|
|
|
|
|
|
|
|
#define LCD_PINS_D4 65
|
|
|
|
|
|
|
|
#define LCD_PINS_D5 66
|
|
|
|
|
|
|
|
#define LCD_PINS_D6 44
|
|
|
|
|
|
|
|
#define LCD_PINS_D7 64
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define BEEPER_PIN 33
|
|
|
|
|
|
|
|
#define LCD_PINS_RS 16
|
|
|
|
|
|
|
|
#define LCD_PINS_ENABLE 17
|
|
|
|
|
|
|
|
#define LCD_PINS_D4 23
|
|
|
|
|
|
|
|
#define LCD_PINS_D5 25
|
|
|
|
|
|
|
|
#define LCD_PINS_D6 27
|
|
|
|
|
|
|
|
#define LCD_PINS_D7 29
|
|
|
|
|
|
|
|
// Buttons are attached to a shift register
|
|
|
|
|
|
|
|
// Not wired yet
|
|
|
|
|
|
|
|
//#define SHIFT_CLK 38
|
|
|
|
|
|
|
|
//#define SHIFT_LD 42
|
|
|
|
|
|
|
|
//#define SHIFT_OUT 40
|
|
|
|
|
|
|
|
//#define SHIFT_EN 17
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(NEWPANEL)
|
|
|
|
#if ENABLED(NEWPANEL)
|
|
|
|
#if ENABLED(PANEL_ONE)
|
|
|
|
|
|
|
|
#define LCD_PINS_RS 40
|
|
|
|
|
|
|
|
#define LCD_PINS_ENABLE 42
|
|
|
|
|
|
|
|
#define LCD_PINS_D4 65
|
|
|
|
|
|
|
|
#define LCD_PINS_D5 66
|
|
|
|
|
|
|
|
#define LCD_PINS_D6 44
|
|
|
|
|
|
|
|
#define LCD_PINS_D7 64
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define LCD_PINS_RS 16
|
|
|
|
|
|
|
|
#define LCD_PINS_ENABLE 17
|
|
|
|
|
|
|
|
#define LCD_PINS_D4 23
|
|
|
|
|
|
|
|
#define LCD_PINS_D5 25
|
|
|
|
|
|
|
|
#define LCD_PINS_D6 27
|
|
|
|
|
|
|
|
#define LCD_PINS_D7 29
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
|
|
|
#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
|
|
|
|
#define BEEPER_PIN 37
|
|
|
|
#define BEEPER_PIN 37
|
|
|
@ -272,26 +280,7 @@
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#else // !NEWPANEL (Old-style panel with shift register)
|
|
|
|
#endif // NEWPANEL
|
|
|
|
|
|
|
|
|
|
|
|
// No Beeper added
|
|
|
|
|
|
|
|
#define BEEPER_PIN 33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Buttons are attached to a shift register
|
|
|
|
|
|
|
|
// Not wired yet
|
|
|
|
|
|
|
|
//#define SHIFT_CLK 38
|
|
|
|
|
|
|
|
//#define SHIFT_LD 42
|
|
|
|
|
|
|
|
//#define SHIFT_OUT 40
|
|
|
|
|
|
|
|
//#define SHIFT_EN 17
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define LCD_PINS_RS 16
|
|
|
|
|
|
|
|
#define LCD_PINS_ENABLE 17
|
|
|
|
|
|
|
|
#define LCD_PINS_D4 23
|
|
|
|
|
|
|
|
#define LCD_PINS_D5 25
|
|
|
|
|
|
|
|
#define LCD_PINS_D6 27
|
|
|
|
|
|
|
|
#define LCD_PINS_D7 29
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // !NEWPANEL
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // ULTRA_LCD
|
|
|
|
#endif // ULTRA_LCD
|
|
|
|
|
|
|
|
|
|
|
|