🧑💻 Fix up some AUX / EXP pins (#23577)
This commit is contained in:
committed by
Scott Lahteine
parent
2142456a25
commit
2d032b734c
@ -120,7 +120,7 @@
|
||||
#define SD_MISO_PIN 19
|
||||
#define SD_SCK_PIN 18
|
||||
#define SDSS 5
|
||||
#define SD_DETECT_PIN 34 // IO34 default is SD_DET signal(Jump to SDDET)
|
||||
#define SD_DETECT_PIN 34 // IO34 default is SD_DET signal (Jump to SDDET)
|
||||
#define USES_SHARED_SPI // SPI is shared by SD card with TMC SPI drivers
|
||||
|
||||
/**
|
||||
@ -177,9 +177,9 @@
|
||||
|
||||
#elif ENABLED(MKS_MINI_12864_V3)
|
||||
|
||||
#define LCD_PINS_DC EXP1_07_PIN
|
||||
#define DOGLCD_CS EXP1_08_PIN
|
||||
#define DOGLCD_A0 EXP1_07_PIN
|
||||
#define LCD_PINS_DC DOGLCD_A0
|
||||
#define DOGLCD_A0 LCD_PINS_DC
|
||||
#define LCD_BACKLIGHT_PIN -1
|
||||
#define LCD_RESET_PIN EXP1_06_PIN
|
||||
#define NEOPIXEL_PIN EXP1_05_PIN
|
||||
|
@ -62,6 +62,13 @@
|
||||
#define TEMP_0_PIN 39 // Analog Input
|
||||
#define TEMP_BED_PIN 36 // Analog Input
|
||||
|
||||
#if ENABLED(MAX31856_PANDAPI)
|
||||
#define MAX31856_CLK_PIN 29
|
||||
#define MAX31856_MISO_PIN 24
|
||||
#define MAX31856_MOSI_PIN 28
|
||||
#define MAX31856_CS_PIN 27
|
||||
#endif
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
@ -74,25 +81,48 @@
|
||||
#define E0_AUTO_FAN_PIN 120 // FAN2
|
||||
#endif
|
||||
|
||||
/** ------ ------
|
||||
* (MISO 19?) |10 9 | (18 SCK?) (BEEPER) 129 |10 9 | 12 (^ENC)
|
||||
* (EN1) 33 | 8 7 | (5 SDSS?) (EN) 26 | 8 7 | 27 (RS)
|
||||
* (EN2) 32 6 5 | (23 MOSI?) (D4) 14 | 6 5 --
|
||||
* (SDDET 2?) | 4 3 | (RESET) -- | 4 3 | --
|
||||
* -- | 2 1 | -- (GND) | 2 1 | (5V)
|
||||
* ------ ------
|
||||
* EXP2 EXP1
|
||||
*/
|
||||
#define EXP1_06_PIN 14
|
||||
#define EXP1_07_PIN 27
|
||||
#define EXP1_08_PIN 26
|
||||
#define EXP1_09_PIN 12
|
||||
#define EXP1_10_PIN 129
|
||||
|
||||
#define EXP2_04_PIN 2 // ?
|
||||
#define EXP2_05_PIN 23 // ?
|
||||
#define EXP2_06_PIN 32
|
||||
#define EXP2_07_PIN 5 // ?
|
||||
#define EXP2_08_PIN 33
|
||||
#define EXP2_09_PIN 18 // ?
|
||||
#define EXP2_10_PIN 19 // ?
|
||||
|
||||
//
|
||||
// SD card
|
||||
// SD Card
|
||||
//
|
||||
#if ENABLED(SDSUPPORT)
|
||||
#define SD_MOSI_PIN 23
|
||||
#define SD_MISO_PIN 19
|
||||
#define SD_SCK_PIN 18
|
||||
#define SDSS 5
|
||||
#define SD_DETECT_PIN 2
|
||||
#define SD_MOSI_PIN EXP2_05_PIN
|
||||
#define SD_MISO_PIN EXP2_10_PIN
|
||||
#define SD_SCK_PIN EXP2_09_PIN
|
||||
#define SDSS EXP2_07_PIN
|
||||
#define SD_DETECT_PIN EXP2_04_PIN
|
||||
#endif
|
||||
|
||||
#if HAS_WIRED_LCD
|
||||
#define BEEPER_PIN 129
|
||||
#define BTN_ENC 12
|
||||
#define BEEPER_PIN EXP1_10_PIN
|
||||
|
||||
#define BTN_EN1 33
|
||||
#define BTN_EN2 32
|
||||
#define BTN_ENC EXP1_09_PIN
|
||||
#define BTN_EN1 EXP2_08_PIN
|
||||
#define BTN_EN2 EXP2_06_PIN
|
||||
|
||||
#define LCD_PINS_RS 27
|
||||
#define LCD_PINS_ENABLE 26
|
||||
#define LCD_PINS_D4 14
|
||||
#define LCD_PINS_RS EXP1_07_PIN
|
||||
#define LCD_PINS_ENABLE EXP1_08_PIN
|
||||
#define LCD_PINS_D4 EXP1_06_PIN
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user