TFT Presets, Generic options, Sanity checks (#19723)

This commit is contained in:
Scott Lahteine
2020-10-15 03:00:27 -05:00
committed by GitHub
parent 04c27573d6
commit f6ffbe548c
116 changed files with 593 additions and 599 deletions

View File

@ -129,7 +129,7 @@
#define SD_DETECT_PIN 49
#endif
#if ENABLED(NEWPANEL)
#if IS_NEWPANEL
#define BTN_EN1 11
#define BTN_EN2 12
#define BTN_ENC 43

View File

@ -109,7 +109,7 @@
#define BEEPER_PIN 18
#if ENABLED(NEWPANEL)
#if IS_NEWPANEL
#if ENABLED(MKS_MINI_12864)
#define DOGLCD_A0 5
@ -130,7 +130,7 @@
#define BTN_ENC 19
#define SD_DETECT_PIN 38
#else // !NEWPANEL
#else // !IS_NEWPANEL
#define SHIFT_CLK 38
#define SHIFT_LD 42
@ -146,6 +146,6 @@
#define SD_DETECT_PIN -1
#endif // !NEWPANEL
#endif // !IS_NEWPANEL
#endif // HAS_WIRED_LCD

View File

@ -172,7 +172,7 @@
#define LCD_PINS_D7 36
#endif
#if ENABLED(NEWPANEL)
#if IS_NEWPANEL
#ifndef BTN_EN1
#define BTN_EN1 42
#endif

View File

@ -32,7 +32,7 @@
#define SPEAKER // The speaker can produce tones
#if ENABLED(NEWPANEL)
#if IS_NEWPANEL
#define BTN_EN1 16
#define BTN_EN2 17
#define BTN_ENC 19

View File

@ -127,7 +127,7 @@
#define BEEPER_PIN 18
#if ENABLED(NEWPANEL)
#if IS_NEWPANEL
#define LCD_PINS_RS 20 // LCD_CS
#define LCD_PINS_ENABLE 15 // LCD_SDA
@ -168,6 +168,6 @@
#define LCD_PINS_D6 20
#define LCD_PINS_D7 19
#endif // !NEWPANEL
#endif // !IS_NEWPANEL
#endif // HAS_WIRED_LCD

View File

@ -108,7 +108,7 @@
//
#define BEEPER_PIN 33
#if BOTH(ULTRA_LCD, NEWPANEL)
#if IS_ULTRA_LCD && IS_NEWPANEL
#define LCD_PINS_RS 16
#define LCD_PINS_ENABLE 17
@ -124,7 +124,7 @@
#define SD_DETECT_PIN -1 // RAMPS doesn't use this
#endif // ULTRA_LCD && NEWPANEL
#endif // IS_ULTRA_LCD && IS_NEWPANEL
//
// M3/M4/M5 - Spindle/Laser Control

View File

@ -139,7 +139,7 @@
#define LCD_PINS_D6 32
#define LCD_PINS_D7 33
#if ENABLED(NEWPANEL)
#if IS_NEWPANEL
// Buttons are directly attached using keypad
#define BTN_EN1 61
#define BTN_EN2 59

View File

@ -214,7 +214,7 @@
//
#if HAS_WIRED_LCD
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#if IS_RRD_FG_SC
#define LCD_PINS_RS 33 // C4: LCD-STROBE
#define LCD_PINS_ENABLE 72 // J2: LEFT

View File

@ -132,7 +132,7 @@
#endif
#endif
#if ENABLED(NEWPANEL)
#if IS_NEWPANEL
#define BTN_ENC 16 // Enter Pin
#define BTN_UP 19 // Button UP Pin
#define BTN_DWN 17 // Button DOWN Pin