Format some pins
This commit is contained in:
parent
0332666d38
commit
1aa9d44783
|
@ -295,55 +295,55 @@
|
||||||
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define LCD_PINS_RS 49 // CS chip select /SS chip slave select
|
//#define LCD_PINS_RS 49 // CS chip select /SS chip slave select
|
||||||
// #define LCD_PINS_ENABLE 51 // SID (MOSI)
|
//#define LCD_PINS_ENABLE 51 // SID (MOSI)
|
||||||
// #define LCD_PINS_D4 52 // SCK (CLK) clock
|
//#define LCD_PINS_D4 52 // SCK (CLK) clock
|
||||||
|
|
||||||
#elif BOTH(NEWPANEL, PANEL_ONE)
|
#elif BOTH(NEWPANEL, PANEL_ONE)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define LCD_PINS_RS 40
|
//#define LCD_PINS_RS 40
|
||||||
// #define LCD_PINS_ENABLE 42
|
//#define LCD_PINS_ENABLE 42
|
||||||
// #define LCD_PINS_D4 57 // Mega/Due:65 - AGCM4:57
|
//#define LCD_PINS_D4 57 // Mega/Due:65 - AGCM4:57
|
||||||
// #define LCD_PINS_D5 58 // Mega/Due:66 - AGCM4:58
|
//#define LCD_PINS_D5 58 // Mega/Due:66 - AGCM4:58
|
||||||
// #define LCD_PINS_D6 44
|
//#define LCD_PINS_D6 44
|
||||||
// #define LCD_PINS_D7 56 // Mega/Due:64 - AGCM4:56
|
//#define LCD_PINS_D7 56 // Mega/Due:64 - AGCM4:56
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if ENABLED(CR10_STOCKDISPLAY)
|
#if ENABLED(CR10_STOCKDISPLAY)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define LCD_PINS_RS 27
|
//#define LCD_PINS_RS 27
|
||||||
// #define LCD_PINS_ENABLE 29
|
//#define LCD_PINS_ENABLE 29
|
||||||
// #define LCD_PINS_D4 25
|
//#define LCD_PINS_D4 25
|
||||||
|
|
||||||
#if DISABLED(NEWPANEL)
|
#if DISABLED(NEWPANEL)
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define BEEPER_PIN 37
|
//#define BEEPER_PIN 37
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif ENABLED(ZONESTAR_LCD)
|
#elif ENABLED(ZONESTAR_LCD)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define LCD_PINS_RS 56 // Mega/Due:64 - AGCM4:56
|
//#define LCD_PINS_RS 56 // Mega/Due:64 - AGCM4:56
|
||||||
// #define LCD_PINS_ENABLE 44
|
//#define LCD_PINS_ENABLE 44
|
||||||
// #define LCD_PINS_D4 55 // Mega/Due:63 - AGCM4:55
|
//#define LCD_PINS_D4 55 // Mega/Due:63 - AGCM4:55
|
||||||
// #define LCD_PINS_D5 40
|
//#define LCD_PINS_D5 40
|
||||||
// #define LCD_PINS_D6 42
|
//#define LCD_PINS_D6 42
|
||||||
// #define LCD_PINS_D7 57 // Mega/Due:65 - AGCM4:57
|
//#define LCD_PINS_D7 57 // Mega/Due:65 - AGCM4:57
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
|
#if EITHER(MKS_12864OLED, MKS_12864OLED_SSD1306)
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define LCD_PINS_DC 25 // Set as output on init
|
//#define LCD_PINS_DC 25 // Set as output on init
|
||||||
// #define LCD_PINS_RS 27 // Pull low for 1s to init
|
//#define LCD_PINS_RS 27 // Pull low for 1s to init
|
||||||
// DOGM SPI LCD Support
|
// DOGM SPI LCD Support
|
||||||
// #define DOGLCD_CS 16
|
//#define DOGLCD_CS 16
|
||||||
// #define DOGLCD_MOSI 17
|
//#define DOGLCD_MOSI 17
|
||||||
// #define DOGLCD_SCK 23
|
//#define DOGLCD_SCK 23
|
||||||
// #define DOGLCD_A0 LCD_PINS_DC
|
//#define DOGLCD_A0 LCD_PINS_DC
|
||||||
#else
|
#else
|
||||||
#define LCD_PINS_RS 16
|
#define LCD_PINS_RS 16
|
||||||
#define LCD_PINS_ENABLE 17
|
#define LCD_PINS_ENABLE 17
|
||||||
|
@ -382,8 +382,8 @@
|
||||||
|
|
||||||
#if ENABLED(CR10_STOCKDISPLAY)
|
#if ENABLED(CR10_STOCKDISPLAY)
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define BTN_EN1 17
|
//#define BTN_EN1 17
|
||||||
// #define BTN_EN2 23
|
//#define BTN_EN2 23
|
||||||
#else
|
#else
|
||||||
#define BTN_EN1 31
|
#define BTN_EN1 31
|
||||||
#define BTN_EN2 33
|
#define BTN_EN2 33
|
||||||
|
@ -397,70 +397,70 @@
|
||||||
|
|
||||||
#if ENABLED(BQ_LCD_SMART_CONTROLLER)
|
#if ENABLED(BQ_LCD_SMART_CONTROLLER)
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define LCD_BACKLIGHT_PIN 39
|
//#define LCD_BACKLIGHT_PIN 39
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
#elif ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define BTN_EN1 56 // Mega/Due:64 - AGCM4:56
|
//#define BTN_EN1 56 // Mega/Due:64 - AGCM4:56
|
||||||
// #define BTN_EN2 72 // Mega/Due:59 - AGCM4:72
|
//#define BTN_EN2 72 // Mega/Due:59 - AGCM4:72
|
||||||
// #define BTN_ENC 55
|
//#define BTN_ENC 55
|
||||||
// #define SD_DETECT_PIN 42
|
//#define SD_DETECT_PIN 42
|
||||||
|
|
||||||
#elif ENABLED(LCD_I2C_PANELOLU2)
|
#elif ENABLED(LCD_I2C_PANELOLU2)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define BTN_EN1 47
|
//#define BTN_EN1 47
|
||||||
// #define BTN_EN2 43
|
//#define BTN_EN2 43
|
||||||
// #define BTN_ENC 32
|
//#define BTN_ENC 32
|
||||||
// #define LCD_SDSS SDSS
|
//#define LCD_SDSS SDSS
|
||||||
// #define KILL_PIN 41
|
//#define KILL_PIN 41
|
||||||
|
|
||||||
#elif ENABLED(LCD_I2C_VIKI)
|
#elif ENABLED(LCD_I2C_VIKI)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define BTN_EN1 40 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
|
//#define BTN_EN1 40 // http://files.panucatt.com/datasheets/viki_wiring_diagram.pdf explains 40/42.
|
||||||
// #define BTN_EN2 42
|
//#define BTN_EN2 42
|
||||||
// #define BTN_ENC -1
|
//#define BTN_ENC -1
|
||||||
|
|
||||||
// #define LCD_SDSS SDSS
|
//#define LCD_SDSS SDSS
|
||||||
// #define SD_DETECT_PIN 49
|
//#define SD_DETECT_PIN 49
|
||||||
|
|
||||||
#elif ANY(VIKI2, miniVIKI)
|
#elif ANY(VIKI2, miniVIKI)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define DOGLCD_CS 45
|
//#define DOGLCD_CS 45
|
||||||
// #define DOGLCD_A0 44
|
//#define DOGLCD_A0 44
|
||||||
// #define LCD_SCREEN_ROT_180
|
//#define LCD_SCREEN_ROT_180
|
||||||
|
|
||||||
// #define BEEPER_PIN 33
|
//#define BEEPER_PIN 33
|
||||||
// #define STAT_LED_RED_PIN 32
|
//#define STAT_LED_RED_PIN 32
|
||||||
// #define STAT_LED_BLUE_PIN 35
|
//#define STAT_LED_BLUE_PIN 35
|
||||||
|
|
||||||
// #define BTN_EN1 22
|
//#define BTN_EN1 22
|
||||||
// #define BTN_EN2 7
|
//#define BTN_EN2 7
|
||||||
// #define BTN_ENC 39
|
//#define BTN_ENC 39
|
||||||
|
|
||||||
// #define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board
|
//#define SD_DETECT_PIN -1 // Pin 49 for display SD interface, 72 for easy adapter board
|
||||||
// #define KILL_PIN 31
|
//#define KILL_PIN 31
|
||||||
|
|
||||||
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
|
#elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define DOGLCD_CS 29
|
//#define DOGLCD_CS 29
|
||||||
// #define DOGLCD_A0 27
|
//#define DOGLCD_A0 27
|
||||||
|
|
||||||
// #define BEEPER_PIN 23
|
//#define BEEPER_PIN 23
|
||||||
// #define LCD_BACKLIGHT_PIN 33
|
//#define LCD_BACKLIGHT_PIN 33
|
||||||
|
|
||||||
// #define BTN_EN1 35
|
//#define BTN_EN1 35
|
||||||
// #define BTN_EN2 37
|
//#define BTN_EN2 37
|
||||||
// #define BTN_ENC 31
|
//#define BTN_ENC 31
|
||||||
|
|
||||||
// #define LCD_SDSS SDSS
|
//#define LCD_SDSS SDSS
|
||||||
// #define SD_DETECT_PIN 49
|
//#define SD_DETECT_PIN 49
|
||||||
// #define KILL_PIN 41
|
//#define KILL_PIN 41
|
||||||
|
|
||||||
#elif EITHER(MKS_MINI_12864, FYSETC_MINI_12864)
|
#elif EITHER(MKS_MINI_12864, FYSETC_MINI_12864)
|
||||||
|
|
||||||
|
@ -476,53 +476,53 @@
|
||||||
#if ENABLED(MKS_MINI_12864) // Added in Marlin 1.1.6
|
#if ENABLED(MKS_MINI_12864) // Added in Marlin 1.1.6
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define DOGLCD_A0 27
|
//#define DOGLCD_A0 27
|
||||||
// #define DOGLCD_CS 25
|
//#define DOGLCD_CS 25
|
||||||
|
|
||||||
// GLCD features
|
// GLCD features
|
||||||
// Uncomment screen orientation
|
// Uncomment screen orientation
|
||||||
// #define LCD_SCREEN_ROT_90
|
//#define LCD_SCREEN_ROT_90
|
||||||
// #define LCD_SCREEN_ROT_180
|
//#define LCD_SCREEN_ROT_180
|
||||||
// #define LCD_SCREEN_ROT_270
|
//#define LCD_SCREEN_ROT_270
|
||||||
|
|
||||||
// not connected to a pin
|
// not connected to a pin
|
||||||
// #define LCD_BACKLIGHT_PIN 57 // backlight LED on A11/D? (Mega/Due:65 - AGCM4:57)
|
//#define LCD_BACKLIGHT_PIN 57 // backlight LED on A11/D? (Mega/Due:65 - AGCM4:57)
|
||||||
|
|
||||||
// #define BTN_EN1 31
|
//#define BTN_EN1 31
|
||||||
// #define BTN_EN2 33
|
//#define BTN_EN2 33
|
||||||
|
|
||||||
#elif ENABLED(FYSETC_MINI_12864)
|
#elif ENABLED(FYSETC_MINI_12864)
|
||||||
|
|
||||||
// From https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8
|
// From https://wiki.fysetc.com/Mini12864_Panel/?fbclid=IwAR1FyjuNdVOOy9_xzky3qqo_WeM5h-4gpRnnWhQr_O1Ef3h0AFnFXmCehK8
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define DOGLCD_A0 16
|
//#define DOGLCD_A0 16
|
||||||
// #define DOGLCD_CS 17
|
//#define DOGLCD_CS 17
|
||||||
|
|
||||||
// #define BTN_EN1 33
|
//#define BTN_EN1 33
|
||||||
// #define BTN_EN2 31
|
//#define BTN_EN2 31
|
||||||
|
|
||||||
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
|
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
|
||||||
// results in LCD soft SPI mode 3, SD soft SPI mode 0
|
// results in LCD soft SPI mode 3, SD soft SPI mode 0
|
||||||
|
|
||||||
// #define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
|
//#define LCD_RESET_PIN 23 // Must be high or open for LCD to operate normally.
|
||||||
|
|
||||||
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
|
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
|
||||||
#ifndef RGB_LED_R_PIN
|
#ifndef RGB_LED_R_PIN
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define RGB_LED_R_PIN 25
|
//#define RGB_LED_R_PIN 25
|
||||||
#endif
|
#endif
|
||||||
#ifndef RGB_LED_G_PIN
|
#ifndef RGB_LED_G_PIN
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define RGB_LED_G_PIN 27
|
//#define RGB_LED_G_PIN 27
|
||||||
#endif
|
#endif
|
||||||
#ifndef RGB_LED_B_PIN
|
#ifndef RGB_LED_B_PIN
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define RGB_LED_B_PIN 29
|
//#define RGB_LED_B_PIN 29
|
||||||
#endif
|
#endif
|
||||||
#elif ENABLED(FYSETC_MINI_12864_2_1)
|
#elif ENABLED(FYSETC_MINI_12864_2_1)
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define NEOPIXEL_PIN 25
|
//#define NEOPIXEL_PIN 25
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -530,30 +530,30 @@
|
||||||
#elif ENABLED(MINIPANEL)
|
#elif ENABLED(MINIPANEL)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define BEEPER_PIN 42
|
//#define BEEPER_PIN 42
|
||||||
// not connected to a pin
|
// not connected to a pin
|
||||||
// #define LCD_BACKLIGHT_PIN 57 // backlight LED on A11/D? (Mega/Due:65 - AGCM4:57)
|
//#define LCD_BACKLIGHT_PIN 57 // backlight LED on A11/D? (Mega/Due:65 - AGCM4:57)
|
||||||
|
|
||||||
// #define DOGLCD_A0 44
|
//#define DOGLCD_A0 44
|
||||||
// #define DOGLCD_CS 58 // Mega/Due:66 - AGCM4:58
|
//#define DOGLCD_CS 58 // Mega/Due:66 - AGCM4:58
|
||||||
|
|
||||||
// GLCD features
|
// GLCD features
|
||||||
// Uncomment screen orientation
|
// Uncomment screen orientation
|
||||||
// #define LCD_SCREEN_ROT_90
|
//#define LCD_SCREEN_ROT_90
|
||||||
// #define LCD_SCREEN_ROT_180
|
//#define LCD_SCREEN_ROT_180
|
||||||
// #define LCD_SCREEN_ROT_270
|
//#define LCD_SCREEN_ROT_270
|
||||||
|
|
||||||
// #define BTN_EN1 40
|
//#define BTN_EN1 40
|
||||||
// #define BTN_EN2 55 // Mega/Due:63 - AGCM4:55
|
//#define BTN_EN2 55 // Mega/Due:63 - AGCM4:55
|
||||||
// #define BTN_ENC 72 // Mega/Due:59 - AGCM4:72
|
//#define BTN_ENC 72 // Mega/Due:59 - AGCM4:72
|
||||||
|
|
||||||
// #define SD_DETECT_PIN 49
|
//#define SD_DETECT_PIN 49
|
||||||
// #define KILL_PIN 56 // Mega/Due:64 - AGCM4:56
|
//#define KILL_PIN 56 // Mega/Due:64 - AGCM4:56
|
||||||
|
|
||||||
#elif ENABLED(ZONESTAR_LCD)
|
#elif ENABLED(ZONESTAR_LCD)
|
||||||
|
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define ADC_KEYPAD_PIN 12
|
//#define ADC_KEYPAD_PIN 12
|
||||||
|
|
||||||
#elif ENABLED(AZSMZ_12864)
|
#elif ENABLED(AZSMZ_12864)
|
||||||
|
|
||||||
|
@ -562,33 +562,33 @@
|
||||||
#else
|
#else
|
||||||
|
|
||||||
// Beeper on AUX-4
|
// Beeper on AUX-4
|
||||||
// #define BEEPER_PIN 33
|
//#define BEEPER_PIN 33
|
||||||
|
|
||||||
// Buttons are directly attached to AUX-2
|
// Buttons are directly attached to AUX-2
|
||||||
#if ENABLED(REPRAPWORLD_KEYPAD)
|
#if ENABLED(REPRAPWORLD_KEYPAD)
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define SHIFT_OUT 40
|
//#define SHIFT_OUT 40
|
||||||
// #define SHIFT_CLK 44
|
//#define SHIFT_CLK 44
|
||||||
// #define SHIFT_LD 42
|
//#define SHIFT_LD 42
|
||||||
// #define BTN_EN1 56 // Mega/Due:64 - AGCM4:56
|
//#define BTN_EN1 56 // Mega/Due:64 - AGCM4:56
|
||||||
// #define BTN_EN2 72 // Mega/Due:59 - AGCM4:72
|
//#define BTN_EN2 72 // Mega/Due:59 - AGCM4:72
|
||||||
// #define BTN_ENC 55 // Mega/Due:63 - AGCM4:55
|
//#define BTN_ENC 55 // Mega/Due:63 - AGCM4:55
|
||||||
#elif ENABLED(PANEL_ONE)
|
#elif ENABLED(PANEL_ONE)
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define BTN_EN1 72 // AUX2 PIN 3 (Mega/Due:59 - AGCM4:72)
|
//#define BTN_EN1 72 // AUX2 PIN 3 (Mega/Due:59 - AGCM4:72)
|
||||||
// #define BTN_EN2 55 // AUX2 PIN 4 (Mega/Due:63 - AGCM4:55)
|
//#define BTN_EN2 55 // AUX2 PIN 4 (Mega/Due:63 - AGCM4:55)
|
||||||
// #define BTN_ENC 49 // AUX3 PIN 7
|
//#define BTN_ENC 49 // AUX3 PIN 7
|
||||||
#else
|
#else
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define BTN_EN1 37
|
//#define BTN_EN1 37
|
||||||
// #define BTN_EN2 35
|
//#define BTN_EN2 35
|
||||||
// #define BTN_ENC 31
|
//#define BTN_ENC 31
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(G3D_PANEL)
|
#if ENABLED(G3D_PANEL)
|
||||||
// TO TEST
|
// TO TEST
|
||||||
// #define SD_DETECT_PIN 49
|
//#define SD_DETECT_PIN 49
|
||||||
// #define KILL_PIN 41
|
//#define KILL_PIN 41
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -72,7 +72,7 @@
|
||||||
// Heaters / Fans
|
// Heaters / Fans
|
||||||
//
|
//
|
||||||
#define HEATER_0_PIN 20
|
#define HEATER_0_PIN 20
|
||||||
// #define HEATER_1_PIN 36
|
//#define HEATER_1_PIN 36
|
||||||
#define HEATER_BED_PIN 21
|
#define HEATER_BED_PIN 21
|
||||||
#ifndef FAN_PIN
|
#ifndef FAN_PIN
|
||||||
#define FAN_PIN 22
|
#define FAN_PIN 22
|
||||||
|
|
Loading…
Reference in a new issue