Consistent order/formatting of pins files
This commit is contained in:
@ -28,21 +28,16 @@
|
||||
|
||||
#include "pins_RAMPS.h"
|
||||
|
||||
#undef FAN_PIN
|
||||
#define FAN_PIN 6 //Part Cooling System
|
||||
|
||||
#undef BEEPER_PIN
|
||||
#define BEEPER_PIN 33
|
||||
#define CONTROLLERFAN_PIN 4 //Pin used for the fan to cool motherboard (-1 to disable)
|
||||
//Fans/Water Pump to cool the hotend cool side.
|
||||
#define EXTRUDER_0_AUTO_FAN_PIN 5
|
||||
#define EXTRUDER_1_AUTO_FAN_PIN 5
|
||||
#define EXTRUDER_2_AUTO_FAN_PIN 5
|
||||
#define EXTRUDER_3_AUTO_FAN_PIN 5
|
||||
//
|
||||
//This section is to swap the MIN and MAX pins because the X3 Pro comes with only
|
||||
//MIN endstops soldered onto the board. Delta code wants the homing endstops to be
|
||||
//the MAX so I swapped them here.
|
||||
// Tested this pin with bed leveling on a Delta with 1 servo.
|
||||
// Physical wire attachment on EXT1: GND, 5V, D47.
|
||||
//
|
||||
#undef SERVO0_PIN
|
||||
#define SERVO0_PIN 47
|
||||
|
||||
//
|
||||
// Swap the MIN and MAX endstop pins because the X3 Pro comes with only
|
||||
// MIN endstop pin headers soldered onto the board.
|
||||
//
|
||||
#if ENABLED(DELTA)
|
||||
#undef X_MIN_PIN
|
||||
@ -60,10 +55,16 @@
|
||||
#define Z_MAX_PIN 18
|
||||
#endif
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN 19
|
||||
#define Z_MIN_PROBE_PIN 18
|
||||
#endif
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
#define E2_STEP_PIN 23
|
||||
#define E2_DIR_PIN 25
|
||||
#define E2_ENABLE_PIN 40
|
||||
@ -76,19 +77,9 @@
|
||||
#define E4_DIR_PIN 37
|
||||
#define E4_ENABLE_PIN 42
|
||||
|
||||
#undef HEATER_1_PIN
|
||||
#undef HEATER_2_PIN
|
||||
#undef HEATER_3_PIN
|
||||
#define HEATER_1_PIN 9
|
||||
#define HEATER_2_PIN 16
|
||||
#define HEATER_3_PIN 17
|
||||
#define HEATER_4_PIN 4
|
||||
#define HEATER_5_PIN 5
|
||||
#define HEATER_6_PIN 6
|
||||
#define HEATER_7_PIN 11
|
||||
|
||||
#undef TEMP_2_PIN
|
||||
#undef TEMP_3_PIN
|
||||
//
|
||||
// Temperature Sensors
|
||||
//
|
||||
#define TEMP_2_PIN 12 // ANALOG NUMBERING
|
||||
#define TEMP_3_PIN 11 // ANALOG NUMBERING
|
||||
#define TEMP_4_PIN 10 // ANALOG NUMBERING
|
||||
@ -96,17 +87,36 @@
|
||||
#define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
|
||||
|
||||
//
|
||||
// These Servo pins are for when they are defined. Tested for usage with bed leveling
|
||||
// on a Delta with 1 servo. Running through the Z servo endstop in code.
|
||||
// Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
|
||||
// Heaters / Fans
|
||||
//
|
||||
#undef SERVO0_PIN
|
||||
#define SERVO0_PIN 47
|
||||
#define HEATER_2_PIN 16
|
||||
#define HEATER_3_PIN 17
|
||||
#define HEATER_4_PIN 4
|
||||
#define HEATER_5_PIN 5
|
||||
#define HEATER_6_PIN 6
|
||||
#define HEATER_7_PIN 11
|
||||
|
||||
#undef FAN_PIN
|
||||
#define FAN_PIN 6 //Part Cooling System
|
||||
|
||||
#define CONTROLLERFAN_PIN 4 //Pin used for the fan to cool motherboard (-1 to disable)
|
||||
|
||||
// Fans/Water Pump to cool the hotend cool side.
|
||||
#define EXTRUDER_0_AUTO_FAN_PIN 5
|
||||
#define EXTRUDER_1_AUTO_FAN_PIN 5
|
||||
#define EXTRUDER_2_AUTO_FAN_PIN 5
|
||||
#define EXTRUDER_3_AUTO_FAN_PIN 5
|
||||
|
||||
//
|
||||
// LCD / Controller
|
||||
//
|
||||
#undef BEEPER_PIN
|
||||
#define BEEPER_PIN 33
|
||||
|
||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||
#undef SD_DETECT_PIN
|
||||
#define SD_DETECT_PIN 49 // For easy adapter board
|
||||
#elif ENABLED(TEMP_STAT_LEDS)
|
||||
#define STAT_LED_RED 32
|
||||
#define STAT_LED_BLUE 35
|
||||
#define SD_DETECT_PIN 49 // For easy adapter board
|
||||
#else
|
||||
#define STAT_LED_RED 32
|
||||
#define STAT_LED_BLUE 35
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user