🎨 Misc. LCD pins comments

This commit is contained in:
Scott Lahteine 2024-01-25 15:07:34 -06:00
parent 38560378fc
commit 04c8a3138e
93 changed files with 129 additions and 49 deletions

View file

@ -219,6 +219,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
//#define LCD_PINS_RS 13

View file

@ -121,9 +121,9 @@
#define SDSS 5
#define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers
//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD / Controller
//
#if HAS_WIRED_LCD

View file

@ -399,9 +399,9 @@
#define EXP2_07_PIN 49 // SD_DET
#define EXP2_08_PIN 41 // KILL
//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD / Controller
//
#if ANY(TFT_COLOR_UI, TFT_CLASSIC_UI, TFT_LVGL_UI)

View file

@ -111,6 +111,7 @@
//
// LCD / Controller
//
#if !defined(BEEPER_PIN) && HAS_WIRED_LCD && DISABLED(LCD_USE_I2C_BUZZER)
#define BEEPER_PIN P1_30 // (EXP1-1) Not 5V-tolerant
#endif

View file

@ -138,6 +138,7 @@
//
// LCD / Controller
//
#if ENABLED(EMOTION_TECH_LCD)
#define BEEPER_PIN EXP2_01_PIN
#define DOGLCD_A0 EXP2_06_PIN

View file

@ -230,6 +230,7 @@
//
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -93,6 +93,7 @@
//
// LCD / Controller
//
#if ANY(VIKI2, miniVIKI)
#define BEEPER_PIN P1_31

View file

@ -138,6 +138,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN 6

View file

@ -143,6 +143,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN 16

View file

@ -78,12 +78,8 @@
#define SDSS 53
#define LED_PIN 4
//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD Display output pins
// LCD / Controller
//
// Requires #define U8GLIB_SH1106_EINSTART in Configuration.h

View file

@ -122,6 +122,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN 18

View file

@ -167,6 +167,7 @@
//
// LCD / Controller
//
#if ENABLED(MINIPANEL)
#define BEEPER_PIN MINI_15

View file

@ -187,6 +187,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if IS_RRD_FG_SC

View file

@ -122,6 +122,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
// OVERLORD OLED pins
#define LCD_PINS_RS 20

View file

@ -92,6 +92,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN 37

View file

@ -208,6 +208,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL
#define KILL_PIN 32

View file

@ -202,6 +202,7 @@
//
// LCD / Controller
//
#if ANY(HAS_WIRED_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
#define KILL_PIN 32

View file

@ -147,6 +147,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL
#if !MB(MINIRAMBO_10A)

View file

@ -199,6 +199,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL
#define KILL_PIN 80

View file

@ -131,6 +131,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD && IS_NEWPANEL
#undef BEEPER_PIN

View file

@ -85,8 +85,9 @@
#define SD_SCK_PIN 52 // PB1
//
// LCDs and Controllers
// LCD / Controller
//
#if HAS_WIRED_LCD
#if ENABLED(ZONESTAR_LCD)
#define LCD_PINS_RS 2

View file

@ -49,6 +49,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD && IS_NEWPANEL
#define SD_DETECT_PIN 6

View file

@ -192,7 +192,6 @@
//
// Misc. Functions
//
#define SDSS EXP2_04_PIN
#define LED_PIN 13
#define KILL_PIN 41
@ -230,10 +229,16 @@
#define EXP2_08_PIN -1 // RESET
//
// LCDs and Controllers
// SD Card
//
#define SDSS EXP2_04_PIN
#define SD_DETECT_PIN EXP2_07_PIN
//
// LCD / Controller
//
#if ENABLED(FYSETC_242_OLED_12864)
#define BTN_EN1 EXP1_01_PIN
#define BTN_EN2 EXP1_08_PIN

View file

@ -60,6 +60,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD && IS_NEWPANEL
#define LCD_PINS_RS 27

View file

@ -63,6 +63,7 @@
//
// LCD / Controller
//
#if ANY(VIKI2, miniVIKI)
/**
* VIKI2 Has two groups of wires with...

View file

@ -79,6 +79,7 @@
//
// LCD / Controller
//
#if IS_RRD_FG_SC
#define BEEPER_PIN 35

View file

@ -585,9 +585,9 @@
#endif
//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD / Controller
//
#ifdef LCD_PINS_DEFINED

View file

@ -244,13 +244,10 @@
#endif
#endif
//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD / Controller
//
//
// LCD Display output pins
//
#if HAS_WIRED_LCD
#define BEEPER_PIN 45
#define LCD_PINS_RS 19

View file

@ -190,6 +190,7 @@
//
// LCD / Controller
//
#if ANY(MKS_12864OLED, MKS_12864OLED_SSD1306)
#define LCD_PINS_DC 38 // Set as output on init
#define LCD_PINS_RS 41 // Pull low for 1s to init

View file

@ -304,9 +304,9 @@
#define EXP2_07_PIN 49 // SD_DET
#define EXP2_08_PIN 41 // KILL / RESET
//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD / Controller
//
#if HAS_WIRED_LCD

View file

@ -118,6 +118,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN 18

View file

@ -166,6 +166,7 @@
//
// LCD / Controller
//
#if ANY(BOARD_REV_1_0, BOARD_REV_1_1_TO_1_3)
#define LCD_PINS_RS 24

View file

@ -49,6 +49,6 @@
#include "pins_RAMPS.h"
//
// LCDs and Controllers
// LCD / Controller
//
#undef BEEPER_PIN

View file

@ -329,9 +329,9 @@
#define EXP2_08_PIN 41
#endif
//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD / Controller
//
#if ENABLED(ZONESTAR_12864LCD)
#define LCDSCREEN_NAME "ZONESTAR LCD12864"

View file

@ -148,6 +148,7 @@
//
// LCD / Controller
//
#if IS_RRD_FG_SC
#define LCD_PINS_RS 18
#define LCD_PINS_EN 15

View file

@ -180,6 +180,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN 23 // D24 PA15_CTS1
#define LCD_PINS_RS 17 // D17 PA12_RXD1

View file

@ -235,6 +235,7 @@
//
// LCD / Controller
//
#if ANY(HAS_WIRED_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)
#define BEEPER_PIN 23 // D24 PA15_CTS1
#define LCD_PINS_RS 17 // D17 PA12_RXD1

View file

@ -111,6 +111,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define LCD_PINS_RS 42

View file

@ -103,6 +103,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define LCD_PINS_RS 42

View file

@ -145,6 +145,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BTN_EN1 48

View file

@ -224,6 +224,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if ENABLED(RADDS_DISPLAY)

View file

@ -66,6 +66,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if ALL(IS_NEWPANEL, PANEL_ONE)

View file

@ -166,6 +166,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN EXP1_01_PIN

View file

@ -95,6 +95,7 @@
//
// LCD / Controller
//
#if ENABLED(AZSMZ_12864)
// Support for AZSMZ 12864 LCD with SD Card 3D printer smart controller control panel

View file

@ -216,6 +216,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if ANY(RADDS_DISPLAY, IS_RRD_SC, IS_RRD_FG_SC)

View file

@ -206,6 +206,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if ANY(RADDS_DISPLAY, IS_RRD_SC, IS_RRD_FG_SC)

View file

@ -417,9 +417,9 @@
#endif
//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD / Controller
//
#ifdef LCD_PINS_DEFINED

View file

@ -59,6 +59,7 @@
//
// LCD / Controller
//
#if ANY(MKS_MINI_12864, CR10_STOCKDISPLAY, ENDER2_STOCKDISPLAY)
#if ANY(CR10_STOCKDISPLAY, ENDER2_STOCKDISPLAY)
#define LCD_PINS_RS EXP1_07_PIN // ST9720 CS

View file

@ -56,6 +56,7 @@
//
// LCD / Controller
//
#if ANY(CR10_STOCKDISPLAY, ENDER2_STOCKDISPLAY)
#if ENABLED(CR10_STOCKDISPLAY)
#if HAS_MEDIA

View file

@ -159,6 +159,7 @@
//
// LCD / Controller
//
#ifdef LCD_PINS_DEFINED
// LCD pins already defined by including header

View file

@ -120,6 +120,7 @@
//
// LCD / Controller
//
#if ENABLED(CR10_STOCKDISPLAY)
#define BTN_ENC PA15
#define BTN_EN1 PA9

View file

@ -142,6 +142,7 @@
//
// LCD / Controller
//
#if ANY(TFT_COLOR_UI, TFT_CLASSIC_UI)
#define BEEPER_PIN EXP1_01_PIN
#define BTN_ENC EXP1_02_PIN

View file

@ -145,6 +145,7 @@
//
// LCD / Controller
//
#if ENABLED(CR10_STOCKDISPLAY)
#define BEEPER_PIN EXP1_01_PIN
#define BTN_EN1 EXP1_03_PIN

View file

@ -272,6 +272,7 @@
//
// LCD / Controller
//
#ifndef BEEPER_PIN
#define BEEPER_PIN PC5
#endif

View file

@ -150,6 +150,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define SPI_DEVICE 2 // Maple

View file

@ -134,6 +134,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if IS_RRD_SC

View file

@ -134,6 +134,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if IS_RRD_SC

View file

@ -139,6 +139,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if IS_RRD_SC

View file

@ -134,6 +134,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if IS_RRD_SC

View file

@ -180,6 +180,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN EXP1_10_PIN
#define BTN_ENC EXP1_09_PIN

View file

@ -251,6 +251,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN EXP1_01_PIN // NC
#define BTN_ENC EXP1_02_PIN

View file

@ -168,6 +168,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BTN_ENC PA0
#define BTN_EN1 PC4

View file

@ -278,6 +278,7 @@
//
// LCD / Controller
//
#if ENABLED(ZONESTAR_12864LCD)
#define LCDSCREEN_NAME "ZONESTAR LCD12864"
#define LCD_PINS_RS EXP1_03_PIN // 7 CS make sure for zonestar zm3e4!

View file

@ -133,6 +133,7 @@
//
// LCD / Controller
//
#if HAS_SPI_TFT || HAS_FSMC_TFT
#define TFT_RESET_PIN PE6
#define TFT_CS_PIN PD7

View file

@ -125,6 +125,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#if ANY(MKS_12864OLED, MKS_12864OLED_SSD1306)
#define LCD_PINS_DC PB8 // Set as output on init

View file

@ -140,6 +140,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN EXP1_01_PIN

View file

@ -238,8 +238,9 @@
#define SDSS EXP2_04_PIN
//
// LCDs and Controllers
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BEEPER_PIN EXP1_01_PIN
#define BTN_ENC EXP1_02_PIN

View file

@ -410,8 +410,9 @@
#define EXP2_07_PIN PB10
//
// LCDs and Controllers
// LCD / Controller
//
#if ANY(TFT_COLOR_UI, TFT_LVGL_UI, TFT_CLASSIC_UI)
#define TFT_CS_PIN EXP2_04_PIN

View file

@ -412,8 +412,9 @@
#endif // BTT_MOTOR_EXPANSION
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -432,8 +432,9 @@
#endif // BTT_MOTOR_EXPANSION
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -437,8 +437,9 @@
#endif // BTT_MOTOR_EXPANSION
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -283,6 +283,7 @@
//
// LCD / Controller
//
#if IS_RRD_SC
#define BEEPER_PIN EXP1_01_PIN
#define LCD_PINS_RS EXP1_04_PIN

View file

@ -238,6 +238,7 @@
//
// LCD / Controller
//
#if ENABLED(FYSETC_242_OLED_12864)
#define BTN_EN1 EXP1_01_PIN

View file

@ -278,6 +278,7 @@
//
// LCD / Controller
//
#if ENABLED(FYSETC_242_OLED_12864)
#define BEEPER_PIN EXP2_08_PIN

View file

@ -480,8 +480,9 @@
#endif
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -334,8 +334,9 @@
#endif // BTT_MOTOR_EXPANSION
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -285,6 +285,7 @@
//
// LCD / Controller
//
#if ANY(TFT_COLOR_UI, TFT_LVGL_UI, TFT_CLASSIC_UI)
#define TFT_CS_PIN EXP1_07_PIN
#define TFT_SCK_PIN EXP2_02_PIN

View file

@ -291,6 +291,7 @@
//
// LCD / Controller
//
#if ANY(TFT_COLOR_UI, TFT_LVGL_UI, TFT_CLASSIC_UI)
#ifndef TOUCH_CALIBRATION_X
#define TOUCH_CALIBRATION_X -17253

View file

@ -284,8 +284,9 @@
#endif
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -170,6 +170,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BTN_ENC EXP1_02_PIN

View file

@ -181,6 +181,7 @@
//
// LCD / Controller
//
#if IS_RRD_FG_SC
#define BEEPER_PIN PC7 // LCD_BEEPER
#define BTN_ENC PE11 // BTN_ENC

View file

@ -140,6 +140,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD
#define BTN_EN1 PB7
#define BTN_EN2 PB5

View file

@ -208,8 +208,9 @@
#endif
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -236,8 +236,9 @@
#endif
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -286,8 +286,9 @@
#endif
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -454,8 +454,9 @@
#endif // BTT_MOTOR_EXPANSION
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -418,8 +418,9 @@
#endif
//
// LCDs and Controllers
// LCD / Controller
//
#if ENABLED(BTT_MINI_12864) // BTT Mini 12864 V2.0 connected via 18-pin FPC cable
#define BEEPER_PIN EXP1_01_PIN

View file

@ -410,7 +410,7 @@
#endif
//
// LCDs and Controllers
// LCD / Controller
//
#if ENABLED(BTT_MINI_12864) // BTT Mini 12864 V2.0 connected via 18-pin FPC cable

View file

@ -423,8 +423,9 @@
#endif // BTT_MOTOR_EXPANSION
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -431,8 +431,9 @@
#endif // BTT_MOTOR_EXPANSION
//
// LCDs and Controllers
// LCD / Controller
//
#if IS_TFTGLCD_PANEL
#if ENABLED(TFTGLCD_PANEL_SPI)

View file

@ -130,6 +130,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD && IS_NEWPANEL
#define LCD_PINS_RS 9 // E1 JP11-11

View file

@ -167,6 +167,7 @@
//
// LCD / Controller
//
#if IS_ULTIPANEL
#define LCD_PINS_RS 8 // E0
#define LCD_PINS_EN 9 // E1

View file

@ -149,6 +149,7 @@
//
// LCD / Controller
//
#if HAS_WIRED_LCD && IS_NEWPANEL
#define BEEPER_PIN -1