Apply some pins formatting

This commit is contained in:
Scott Lahteine
2020-11-07 16:53:37 -06:00
parent b5ef699523
commit 883347bc11
13 changed files with 82 additions and 82 deletions

View File

@ -157,7 +157,7 @@
#define SPINDLE_LASER_PWM_PIN 46 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 62 // Pullup!
#define SPINDLE_DIR_PIN 48
#elif !BOTH(IS_ULTRA_LCD, IS_NEWPANEL) // use expansion header if no LCD in use
#elif !BOTH(IS_ULTRA_LCD, IS_NEWPANEL) // Use expansion header if no LCD in use
#define SPINDLE_LASER_ENA_PIN 16 // Pullup or pulldown!
#define SPINDLE_DIR_PIN 17
#endif

View File

@ -34,9 +34,9 @@
//
// M3/M4/M5 - Spindle/Laser Control
//
#define SPINDLE_LASER_ENA_PIN 66 // Pullup or pulldown!
#define SPINDLE_DIR_PIN 67
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#define SPINDLE_LASER_ENA_PIN 66 // Pullup or pulldown!
#define SPINDLE_DIR_PIN 67
#define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
#include "pins_RAMPS.h"
@ -45,5 +45,5 @@
//
#undef TEMP_0_PIN
#undef TEMP_1_PIN
#define TEMP_0_PIN 9 // Analog Input
#define TEMP_1_PIN 11 // Analog Input
#define TEMP_0_PIN 9 // Analog Input
#define TEMP_1_PIN 11 // Analog Input

View File

@ -30,13 +30,13 @@
//
// Endstops
//
#define X_STOP_PIN 2
#define Y_STOP_PIN 3
#define Z_STOP_PIN 15
#define X_STOP_PIN 2
#define Y_STOP_PIN 3
#define Z_STOP_PIN 15
#define FIL_RUNOUT_PIN 39
#define FIL_RUNOUT_PIN 39
#if EXTRUDERS > 1
#define FIL_RUNOUT2_PIN 14
#define FIL_RUNOUT2_PIN 14
#endif
//

View File

@ -40,8 +40,8 @@
//
// Limit Switches
//
#define X_STOP_PIN 3
#define Y_STOP_PIN 14
#define X_STOP_PIN 3
#define Y_STOP_PIN 14
#undef X_MIN_PIN
#undef X_MAX_PIN
@ -52,13 +52,13 @@
// Steppers
//
#undef E1_STEP_PIN
#define E1_STEP_PIN 32
#define E1_STEP_PIN 32
//
// Heaters / Fans
//
#undef HEATER_1_PIN
#define HEATER_1_PIN 11
#define HEATER_1_PIN 11
//
// Misc. Functions
@ -69,5 +69,5 @@
#if Z_STEP_PIN == 26
#undef Z_STEP_PIN
#define Z_STEP_PIN 32
#define Z_STEP_PIN 32
#endif

View File

@ -30,30 +30,30 @@
#endif
#define BOARD_INFO_NAME "MKS BASE 1.6"
#define MKS_BASE_VERSION 16
#define MKS_BASE_VERSION 16
//
// Servos
//
#define SERVO1_PIN 12 // Digital 12 / Pin 25
#define SERVO1_PIN 12 // Digital 12 / Pin 25
//
// Omitted RAMPS pins
//
#ifndef SERVO2_PIN
#define SERVO2_PIN -1
#define SERVO2_PIN -1
#endif
#ifndef SERVO3_PIN
#define SERVO3_PIN -1
#define SERVO3_PIN -1
#endif
#ifndef FILWIDTH_PIN
#define FILWIDTH_PIN -1
#define FILWIDTH_PIN -1
#endif
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN -1
#define FIL_RUNOUT_PIN -1
#endif
#ifndef PS_ON_PIN
#define PS_ON_PIN -1
#define PS_ON_PIN -1
#endif
#include "pins_MKS_BASE_common.h"

View File

@ -37,16 +37,16 @@
#error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
#endif
#define E0_STEP_PIN 26 // (RUMBA E1 pins)
#define E0_DIR_PIN 25
#define E0_ENABLE_PIN 27
#define E0_STEP_PIN 26 // (RUMBA E1 pins)
#define E0_DIR_PIN 25
#define E0_ENABLE_PIN 27
#define E1_STEP_PIN 29 // (RUMBA E2 pins)
#define E1_DIR_PIN 28
#define E1_ENABLE_PIN 39
#define E1_STEP_PIN 29 // (RUMBA E2 pins)
#define E1_DIR_PIN 28
#define E1_ENABLE_PIN 39
#define Z2_STEP_PIN 23 // (RUMBA E0 pins)
#define Z2_DIR_PIN 22
#define Z2_ENABLE_PIN 24
#define Z2_STEP_PIN 23 // (RUMBA E0 pins)
#define Z2_DIR_PIN 22
#define Z2_ENABLE_PIN 24
#include "pins_RUMBA.h"

View File

@ -27,26 +27,26 @@
#define BOARD_INFO_NAME "Tango"
#define FAN_PIN 8
#define FAN1_PIN -1
#define FAN_PIN 8
#define FAN1_PIN -1
#ifndef E0_AUTO_FAN_PIN
#define E0_AUTO_FAN_PIN 7
#define E0_AUTO_FAN_PIN 7
#endif
#ifndef TEMP_0_PIN
#if TEMP_SENSOR_0 == -1
#define TEMP_0_PIN 10 // Analog Input (connector *K1* on Tango thermocouple ADD ON is used)
#define TEMP_0_PIN 10 // Analog Input (connector *K1* on Tango thermocouple ADD ON is used)
#else
#define TEMP_0_PIN 15 // Analog Input (default connector for thermistor *T0* on rumba board is used)
#define TEMP_0_PIN 15 // Analog Input (default connector for thermistor *T0* on rumba board is used)
#endif
#endif
#ifndef TEMP_1_PIN
#if TEMP_SENSOR_1 == -1
#define TEMP_1_PIN 9 // Analog Input (connector *K2* on Tango thermocouple ADD ON is used)
#define TEMP_1_PIN 9 // Analog Input (connector *K2* on Tango thermocouple ADD ON is used)
#else
#define TEMP_1_PIN 14 // Analog Input (default connector for thermistor *T1* on rumba board is used)
#define TEMP_1_PIN 14 // Analog Input (default connector for thermistor *T1* on rumba board is used)
#endif
#endif

View File

@ -28,7 +28,7 @@
#define BOARD_INFO_NAME "VORON Design v2"
#define RAMPS_D8_PIN 11
#define RAMPS_D8_PIN 11
#include "pins_RAMPS.h"
@ -36,17 +36,17 @@
// Heaters / Fans
//
#undef FAN_PIN
#define FAN_PIN 5 // Using the pin for the controller fan since controller fan is always on.
#define CONTROLLER_FAN_PIN 8
#define FAN_PIN 5 // Using the pin for the controller fan since controller fan is always on.
#define CONTROLLER_FAN_PIN 8
//
// Auto fans
//
#ifndef E0_AUTO_FAN_PIN
#define E0_AUTO_FAN_PIN 6 // Servo pin 6 for E3D Fan
#define E0_AUTO_FAN_PIN 6 // Servo pin 6 for E3D Fan
#endif
#ifndef E1_AUTO_FAN_PIN
#define E1_AUTO_FAN_PIN 6 // Servo pin 6 for E3D Fan (same pin for both extruders since it's the same fan)
#define E1_AUTO_FAN_PIN 6 // Servo pin 6 for E3D Fan (same pin for both extruders since it's the same fan)
#endif
//