Consistent order/formatting of pins files
This commit is contained in:
@ -38,33 +38,45 @@
|
||||
|
||||
#define LARGE_FLASH true
|
||||
|
||||
#if ENABLED(Z_PROBE_SLED)
|
||||
#define SLED_PIN -1
|
||||
#endif
|
||||
|
||||
// Servo support
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
#define SERVO0_PIN 46 // AUX3-6
|
||||
#define SERVO1_PIN 47 // AUX3-5
|
||||
#define SERVO2_PIN 48 // AUX3-4
|
||||
#define SERVO3_PIN 49 // AUX3-3
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 37
|
||||
#define X_MAX_PIN 40
|
||||
#define Y_MIN_PIN 41
|
||||
#define Y_MAX_PIN 38
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 19
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define X_STEP_PIN 58
|
||||
#define X_DIR_PIN 57
|
||||
#define X_ENABLE_PIN 59
|
||||
#define X_MIN_PIN 37
|
||||
#define X_MAX_PIN 40
|
||||
|
||||
#define Y_STEP_PIN 5
|
||||
#define Y_STEP_PIN 5
|
||||
#define Y_DIR_PIN 17
|
||||
#define Y_ENABLE_PIN 4
|
||||
#define Y_MIN_PIN 41
|
||||
#define Y_MAX_PIN 38
|
||||
#define Y_ENABLE_PIN 4
|
||||
|
||||
#define Z_STEP_PIN 16
|
||||
#define Z_DIR_PIN 11
|
||||
#define Z_ENABLE_PIN 3
|
||||
#define Z_MIN_PIN 18
|
||||
#define Z_MAX_PIN 19
|
||||
#define Z_ENABLE_PIN 3
|
||||
|
||||
#define E0_STEP_PIN 28
|
||||
#define E0_DIR_PIN 27
|
||||
@ -78,70 +90,80 @@
|
||||
#define E2_DIR_PIN 60
|
||||
#define E2_ENABLE_PIN 23
|
||||
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
|
||||
#define PS_ON_PIN 12
|
||||
|
||||
#define HEATER_0_PIN 2
|
||||
#define HEATER_1_PIN 9
|
||||
#define HEATER_2_PIN 8
|
||||
#define HEATER_BED_PIN 10
|
||||
#define FAN_PIN 6
|
||||
#define FAN2_PIN 7
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 53
|
||||
#define LED_PIN 13
|
||||
#define PS_ON_PIN 12
|
||||
#define SLED_PIN -1
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#if TEMP_SENSOR_0 == -1
|
||||
#define TEMP_0_PIN 11 // ANALOG NUMBERING
|
||||
#define TEMP_0_PIN 11 // ANALOG NUMBERING
|
||||
#else
|
||||
#define TEMP_0_PIN 15 // ANALOG NUMBERING
|
||||
#define TEMP_0_PIN 15 // ANALOG NUMBERING
|
||||
#endif
|
||||
#if TEMP_SENSOR_1 == -1
|
||||
#define TEMP_1_PIN 10 // ANALOG NUMBERING
|
||||
#define TEMP_1_PIN 10 // ANALOG NUMBERING
|
||||
#else
|
||||
#define TEMP_1_PIN 13 // ANALOG NUMBERING
|
||||
#define TEMP_1_PIN 13 // ANALOG NUMBERING
|
||||
#endif
|
||||
#if TEMP_SENSOR_2 == -1
|
||||
#define TEMP_2_PIN 9 // ANALOG NUMBERING
|
||||
#define TEMP_2_PIN 9 // ANALOG NUMBERING
|
||||
#else
|
||||
#define TEMP_2_PIN 12 // ANALOG NUMBERING
|
||||
#define TEMP_2_PIN 12 // ANALOG NUMBERING
|
||||
#endif
|
||||
#if TEMP_SENSOR_BED == -1
|
||||
#define TEMP_BED_PIN 8 // ANALOG NUMBERING
|
||||
#define TEMP_BED_PIN 8 // ANALOG NUMBERING
|
||||
#else
|
||||
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
|
||||
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Controllers and LCDs
|
||||
*/
|
||||
#define BEEPER_PIN 61
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
#define HEATER_0_PIN 2
|
||||
#define HEATER_1_PIN 9
|
||||
#define HEATER_2_PIN 8
|
||||
#define HEATER_BED_PIN 10
|
||||
|
||||
#define BTN_EN1 44
|
||||
#define BTN_EN2 45
|
||||
#define BTN_ENC 33
|
||||
#define FAN_PIN 6
|
||||
#define FAN1_PIN 7
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#define BEEPER_PIN 61
|
||||
|
||||
#define BTN_EN1 44
|
||||
#define BTN_EN2 45
|
||||
#define BTN_ENC 33
|
||||
|
||||
#if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
|
||||
#define LCD_PINS_RS 56 // CS chip select / SS chip slave select
|
||||
#define LCD_PINS_ENABLE 51 // SID (MOSI)
|
||||
#define LCD_PINS_D4 52 // SCK (CLK) clock
|
||||
#define SD_DETECT_PIN 35
|
||||
#define LCD_PINS_RS 56 // CS chip select / SS chip slave select
|
||||
#define LCD_PINS_ENABLE 51 // SID (MOSI)
|
||||
#define LCD_PINS_D4 52 // SCK (CLK) clock
|
||||
#define SD_DETECT_PIN 35
|
||||
#else
|
||||
#define LCD_PINS_RS 32
|
||||
#define LCD_PINS_ENABLE 31
|
||||
#define LCD_PINS_D4 14
|
||||
#define LCD_PINS_D5 30
|
||||
#define LCD_PINS_D6 39
|
||||
#define LCD_PINS_D7 15
|
||||
#define LCD_PINS_RS 32
|
||||
#define LCD_PINS_ENABLE 31
|
||||
#define LCD_PINS_D4 14
|
||||
#define LCD_PINS_D5 30
|
||||
#define LCD_PINS_D6 39
|
||||
#define LCD_PINS_D7 15
|
||||
|
||||
#define SHIFT_CLK 43
|
||||
#define SHIFT_LD 35
|
||||
#define SHIFT_OUT 34
|
||||
#define SHIFT_EN 44
|
||||
#define SHIFT_CLK 43
|
||||
#define SHIFT_LD 35
|
||||
#define SHIFT_OUT 34
|
||||
#define SHIFT_EN 44
|
||||
|
||||
#if ENABLED(MEGATRONICS_31)
|
||||
#define SD_DETECT_PIN 56
|
||||
#define SD_DETECT_PIN 56
|
||||
#else
|
||||
#define SD_DETECT_PIN -1
|
||||
#define SD_DETECT_PIN -1
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user