Skip to content

Commit

Permalink
🎨 Misc. LCD pins comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jan 25, 2024
1 parent 3856037 commit 04c8a31
Show file tree
Hide file tree
Showing 93 changed files with 128 additions and 48 deletions.
1 change: 1 addition & 0 deletions Marlin/src/pins/esp32/pins_MM_JOKER.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD

//#define LCD_PINS_RS 13
Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/pins/esp32/pins_MRR_ESPE.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/pins/linux/pins_RAMPS_LINUX.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/lpc1768/pins_EMOTRONIC.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
//
// LCD / Controller
//

#if ENABLED(EMOTION_TECH_LCD)
#define BEEPER_PIN EXP2_01_PIN
#define DOGLCD_A0 EXP2_06_PIN
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/lpc1768/pins_MKS_SBASE.h
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
//
// LCD / Controller
//

#if IS_TFTGLCD_PANEL

#if ENABLED(TFTGLCD_PANEL_SPI)
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/lpc1769/pins_SMOOTHIEBOARD.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
//
// LCD / Controller
//

#if ANY(VIKI2, miniVIKI)

#define BEEPER_PIN P1_31
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/mega/pins_CNCONTROLS_11.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD
#define BEEPER_PIN 6

Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/mega/pins_CNCONTROLS_12.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD
#define BEEPER_PIN 16

Expand Down
6 changes: 1 addition & 5 deletions Marlin/src/pins/mega/pins_EINSTART-S.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/mega/pins_HJC2560C_REV2.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD

#define BEEPER_PIN 18
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/mega/pins_MEGACONTROLLER.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
//
// LCD / Controller
//

#if ENABLED(MINIPANEL)

#define BEEPER_PIN MINI_15
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/mega/pins_MIGHTYBOARD_REVE.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD

#if IS_RRD_FG_SC
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/mega/pins_OVERLORD.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD
// OVERLORD OLED pins
#define LCD_PINS_RS 20
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/mega/pins_WEEDO_62A.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD
#define BEEPER_PIN 37

Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/rambo/pins_EINSY_RAMBO.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL

#define KILL_PIN 32
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/rambo/pins_EINSY_RETRO.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@
//
// LCD / Controller
//

#if ANY(HAS_WIRED_LCD, TOUCH_UI_ULTIPANEL, TOUCH_UI_FTDI_EVE)

#define KILL_PIN 32
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/rambo/pins_MINIRAMBO.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL

#if !MB(MINIRAMBO_10A)
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/rambo/pins_RAMBO.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL

#define KILL_PIN 80
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_3DRAG.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD && IS_NEWPANEL
#undef BEEPER_PIN

Expand Down
3 changes: 2 additions & 1 deletion Marlin/src/pins/ramps/pins_DUPLICATOR_I3_PLUS.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_FELIX2.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD && IS_NEWPANEL

#define SD_DETECT_PIN 6
Expand Down
9 changes: 7 additions & 2 deletions Marlin/src/pins/ramps/pins_FYSETC_F6_13.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@
//
// Misc. Functions
//
#define SDSS EXP2_04_PIN
#define LED_PIN 13
#define KILL_PIN 41

Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_K8600.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD && IS_NEWPANEL

#define LCD_PINS_RS 27
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_MKS_GEN_13.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
//
// LCD / Controller
//

#if ANY(VIKI2, miniVIKI)
/**
* VIKI2 Has two groups of wires with...
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_ORTUR_4.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
//
// LCD / Controller
//

#if IS_RRD_FG_SC
#define BEEPER_PIN 35

Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/pins/ramps/pins_RAMPS.h
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,9 @@

#endif

//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD / Controller
//

#ifdef LCD_PINS_DEFINED

Expand Down
7 changes: 2 additions & 5 deletions Marlin/src/pins/ramps/pins_RAMPS_S_12.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,10 @@
#endif
#endif

//////////////////////////
// LCDs and Controllers //
//////////////////////////

//
// LCD Display output pins
// LCD / Controller
//

#if HAS_WIRED_LCD
#define BEEPER_PIN 45
#define LCD_PINS_RS 19
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_RUMBA.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Marlin/src/pins/ramps/pins_TT_OSCAR.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_ULTIMAKER.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD

#define BEEPER_PIN 18
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/ramps/pins_ULTIMAKER_OLD.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
//
// LCD / Controller
//

#if ANY(BOARD_REV_1_0, BOARD_REV_1_1_TO_1_3)

#define LCD_PINS_RS 24
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_VORON.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@
#include "pins_RAMPS.h"

//
// LCDs and Controllers
// LCD / Controller
//
#undef BEEPER_PIN
6 changes: 3 additions & 3 deletions Marlin/src/pins/ramps/pins_ZRIB_V53.h
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@
#define EXP2_08_PIN 41
#endif

//////////////////////////
// LCDs and Controllers //
//////////////////////////
//
// LCD / Controller
//

#if ENABLED(ZONESTAR_12864LCD)
#define LCDSCREEN_NAME "ZONESTAR LCD12864"
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_ALLIGATOR_R2.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
//
// LCD / Controller
//

#if IS_RRD_FG_SC
#define LCD_PINS_RS 18
#define LCD_PINS_EN 15
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_ARCHIM1.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_ARCHIM2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_DUE3DOM.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD

#define LCD_PINS_RS 42
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_DUE3DOM_MINI.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD

#define LCD_PINS_RS 42
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_KRATOS32.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD

#define BTN_EN1 48
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_RADDS.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD

#if ENABLED(RADDS_DISPLAY)
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/pins/sam/pins_RAMPS_DUO.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
//
// LCD / Controller
//

#if HAS_WIRED_LCD

#if ALL(IS_NEWPANEL, PANEL_ONE)
Expand Down
Loading

0 comments on commit 04c8a31

Please sign in to comment.