Format some pins files

This commit is contained in:
Scott Lahteine 2020-03-21 21:13:19 -05:00 committed by Scott Lahteine
parent 9340a33980
commit 2c325c2a7d
174 changed files with 9635 additions and 9668 deletions

View file

@ -52,7 +52,6 @@
#define Z_MIN_PIN P1_28 // 10k pullup to 3.3V, 1K series #define Z_MIN_PIN P1_28 // 10k pullup to 3.3V, 1K series
#define Z_MAX_PIN P1_29 // 10k pullup to 3.3V, 1K series #define Z_MAX_PIN P1_29 // 10k pullup to 3.3V, 1K series
// //
// Steppers // Steppers
// //
@ -72,7 +71,6 @@
#define E0_DIR_PIN P0_22 #define E0_DIR_PIN P0_22
#define E0_ENABLE_PIN P0_21 #define E0_ENABLE_PIN P0_21
// //
// Temperature Sensors // Temperature Sensors
// 3.3V max when defined as an analog input // 3.3V max when defined as an analog input
@ -80,7 +78,6 @@
#define TEMP_0_PIN P0_23_A0 // A0 (T0) #define TEMP_0_PIN P0_23_A0 // A0 (T0)
#define TEMP_BED_PIN P0_24_A1 // A1 (T1) #define TEMP_BED_PIN P0_24_A1 // A1 (T1)
// //
// Heaters / Fans // Heaters / Fans
// //
@ -129,7 +126,6 @@
#endif // HAS_SPI_LCD #endif // HAS_SPI_LCD
/** /**
* SD Card Reader * SD Card Reader
* *
@ -146,7 +142,6 @@
#endif // SDSUPPORT #endif // SDSUPPORT
/** /**
* PWMS * PWMS
* *

View file

@ -172,7 +172,6 @@
#define E0_ENABLE_PIN -1 #define E0_ENABLE_PIN -1
#endif #endif
#if AXIS_DRIVER_TYPE_E1(TMC2130) #if AXIS_DRIVER_TYPE_E1(TMC2130)
#define E1_CS_PIN P0_10 #define E1_CS_PIN P0_10
#undef E1_ENABLE_PIN #undef E1_ENABLE_PIN

View file

@ -85,7 +85,6 @@
#define TEMP_0_PIN P0_24_A1 // A1 (TH2) #define TEMP_0_PIN P0_24_A1 // A1 (TH2)
#define TEMP_1_PIN P0_25_A2 // A2 (TH3) #define TEMP_1_PIN P0_25_A2 // A2 (TH3)
// //
// Heaters / Fans // Heaters / Fans
// //

View file

@ -99,7 +99,6 @@
#define TEMP_0_PIN P0_24_A1 // A1 (TH2) #define TEMP_0_PIN P0_24_A1 // A1 (TH2)
#define TEMP_1_PIN P0_25_A2 // A2 (TH3) #define TEMP_1_PIN P0_25_A2 // A2 (TH3)
// //
// Heaters / Fans // Heaters / Fans
// //

View file

@ -96,7 +96,6 @@
#define CASE_LIGHT_PIN 44 // Hardware PWM #define CASE_LIGHT_PIN 44 // Hardware PWM
// This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team // This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team
// decided to ship the printer only with the probe and no additional Z-min // decided to ship the printer only with the probe and no additional Z-min
// endstop and the instruction manual advises the user to connect the probe to // endstop and the instruction manual advises the user to connect the probe to

View file

@ -117,8 +117,6 @@
#define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN) #define MAX6675_SS_PIN 66 // Don't use 49 (SD_DETECT_PIN)
#endif #endif
// //
// Heaters / Fans // Heaters / Fans
// //

View file

@ -66,13 +66,13 @@
#define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN #define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
#else #else
// EEB // EEB
#define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN #define RAMPS_D8_PINTRIGORILLA_HEATER_BED_PIN
#define FAN_PIN TRIGORILLA_FAN0_PIN // Override pin 4 in pins_RAMPS.h #define FAN_PIN TRIGORILLA_FAN0_PIN // Override pin 4 in pins_RAMPS.h
#endif #endif
#elif TEMP_SENSOR_BED #elif TEMP_SENSOR_BED
// EFB (Anycubic Kossel default) // EFB (Anycubic Kossel default)
#define RAMPS_D9_PIN TRIGORILLA_FAN0_PIN #define RAMPS_D9_PIN TRIGORILLA_FAN0_PIN
#define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN #define RAMPS_D8_PINTRIGORILLA_HEATER_BED_PIN
#else #else
// EFF // EFF
#define RAMPS_D9_PIN TRIGORILLA_FAN1_PIN #define RAMPS_D9_PIN TRIGORILLA_FAN1_PIN
@ -83,7 +83,7 @@
#define FAN1_PIN TRIGORILLA_FAN1_PIN #define FAN1_PIN TRIGORILLA_FAN1_PIN
#endif #endif
#define FAN2_PIN TRIGORILLA_FAN2_PIN #define FAN2_PIN TRIGORILLA_FAN2_PIN
#define ORIG_E0_AUTO_FAN_PIN TRIGORILLA_FAN2_PIN // Used in Anycubic Kossel example config #define ORIG_E0_AUTO_FAN_PINTRIGORILLA_FAN2_PIN // Used in Anycubic Kossel example config
#include "pins_RAMPS.h" #include "pins_RAMPS.h"

View file

@ -59,7 +59,6 @@
#define SERVO0_PIN 20 // D20 PB12 (Header J20 20) #define SERVO0_PIN 20 // D20 PB12 (Header J20 20)
#define SERVO1_PIN 21 // D21 PB13 (Header J20 19) #define SERVO1_PIN 21 // D21 PB13 (Header J20 19)
// //
// Limit Switches // Limit Switches
// //
@ -84,7 +83,6 @@
#define FIL_RUNOUT2_PIN 67 // D67 PB16 (Header J20 16) #define FIL_RUNOUT2_PIN 67 // D67 PB16 (Header J20 16)
#endif #endif
// //
// Steppers // Steppers
// //

View file

@ -50,7 +50,6 @@
* *
*/ */
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__) #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
#error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'" #error "Oops! Select 'Sanguino' in 'Tools > Boards' and 'ATmega644P' or 'ATmega1284P' in 'Tools > Processor.'"
#endif #endif

View file

@ -74,7 +74,6 @@
#define Y_MAX_PIN 2 #define Y_MAX_PIN 2
#define X_MAX_PIN 6 #define X_MAX_PIN 6
// //
// Z Probe (when not Z_MIN_PIN) // Z Probe (when not Z_MIN_PIN)
// //

View file

@ -138,7 +138,7 @@
#define LCD_BACKLIGHT_PIN 17 // LCD backlight LED #define LCD_BACKLIGHT_PIN 17 // LCD backlight LED
#endif #endif
#if NONE(SPINDLE_FEATURE, LASER_FEATURE) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(ULTRA_LCD, NEWPANEL) // try to use IO Header #if NONE(SPINDLE_FEATURE, LASER_FEATURE) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(ULTRA_LCD, NEWPANEL)// try to use IO Header
#define CASE_LIGHT_PIN 4 // Hardware PWM - see if IO Header is available #define CASE_LIGHT_PIN 4 // Hardware PWM - see if IO Header is available
#endif #endif
@ -277,7 +277,7 @@
// M3/M4/M5 - Spindle/Laser Control // M3/M4/M5 - Spindle/Laser Control
// //
#if HAS_CUTTER #if HAS_CUTTER
#if !MB(AZTEEG_X1) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(ULTRA_LCD, NEWPANEL) // try to use IO Header #if !MB(AZTEEG_X1) && ENABLED(SANGUINOLOLU_V_1_2) && !BOTH(ULTRA_LCD, NEWPANEL)// try to use IO Header
#define SPINDLE_LASER_ENA_PIN 10 // Pullup or pulldown! #define SPINDLE_LASER_ENA_PIN 10 // Pullup or pulldown!
#define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM #define SPINDLE_LASER_PWM_PIN 4 // Hardware PWM

View file

@ -71,8 +71,6 @@
#define E0_DIR_PIN PB5 #define E0_DIR_PIN PB5
#define E0_ENABLE_PIN PB8 #define E0_ENABLE_PIN PB8
#define E1_STEP_PIN -1 #define E1_STEP_PIN -1
#define E1_DIR_PIN -1 #define E1_DIR_PIN -1
#define E1_ENABLE_PIN -1 #define E1_ENABLE_PIN -1

View file

@ -200,7 +200,6 @@
#define SDSS PB12 #define SDSS PB12
#endif #endif
/** /**
* _____ _____ * _____ _____
* NC | · · | GND 5V | · · | GND * NC | · · | GND 5V | · · | GND
@ -234,7 +233,6 @@
#undef ST7920_DELAY_2 #undef ST7920_DELAY_2
#undef ST7920_DELAY_3 #undef ST7920_DELAY_3
#else #else
#define LCD_PINS_RS PD10 #define LCD_PINS_RS PD10

View file

@ -226,7 +226,6 @@
#endif #endif
// //
// LCD / Controller // LCD / Controller
// //

View file

@ -150,7 +150,6 @@
//#define SERVO0_PIN PE13 //#define SERVO0_PIN PE13
//#define SERVO1_PIN PE14 //#define SERVO1_PIN PE14
#define SDSS PE7 #define SDSS PE7
#define SS_PIN PE7 #define SS_PIN PE7
#define LED_PIN PB7 //Alive #define LED_PIN PB7 //Alive

View file

@ -77,7 +77,6 @@
#define E1_DIR_PIN PA15 #define E1_DIR_PIN PA15
#define E1_ENABLE_PIN PD6 #define E1_ENABLE_PIN PD6
// //
// Temperature Sensors // Temperature Sensors
// //

View file

@ -215,7 +215,6 @@
// 7 // PE11 WIFI_RESET // 7 // PE11 WIFI_RESET
// 8 // PE12 WIFI_BOOT // 8 // PE12 WIFI_BOOT
// I2C USER // I2C USER
// 14 // PB7 SDA // 14 // PB7 SDA
// 15 // PB6 SCL // 15 // PB6 SCL
@ -265,16 +264,13 @@
// USERKET // USERKET
// 38 // PE7 USER_BUTTON // 38 // PE7 USER_BUTTON
// 0 // PA9 TX // 0 // PA9 TX
// 1 // PA10 RX // 1 // PA10 RX
// IR/PROBE // IR/PROBE
// 32 // PD1 IR_OUT // 32 // PD1 IR_OUT
// 33 // PC1 IR_ON // 33 // PC1 IR_ON
/** /**
* Logical pin vs. port/pin cross reference * Logical pin vs. port/pin cross reference
* *

View file

@ -65,7 +65,6 @@
#define X_DIR_PIN PC7 #define X_DIR_PIN PC7
#define X_ENABLE_PIN PC8 #define X_ENABLE_PIN PC8
#define Y_STEP_PIN PD9 #define Y_STEP_PIN PD9
#define Y_DIR_PIN PD10 #define Y_DIR_PIN PD10
#define Y_ENABLE_PIN PD11 #define Y_ENABLE_PIN PD11
@ -74,17 +73,14 @@
#define Z_DIR_PIN PG1 #define Z_DIR_PIN PG1
#define Z_ENABLE_PIN PD8 #define Z_ENABLE_PIN PD8
#define E0_STEP_PIN PB1 #define E0_STEP_PIN PB1
#define E0_DIR_PIN PB2 #define E0_DIR_PIN PB2
#define E0_ENABLE_PIN PE11 #define E0_ENABLE_PIN PE11
#define E1_STEP_PIN PC4 #define E1_STEP_PIN PC4
#define E1_DIR_PIN PC5 #define E1_DIR_PIN PC5
#define E1_ENABLE_PIN PB0 #define E1_ENABLE_PIN PB0
#define E2_STEP_PIN PC13 #define E2_STEP_PIN PC13
#define E2_DIR_PIN PC14 #define E2_DIR_PIN PC14
#define E2_ENABLE_PIN PC15 #define E2_ENABLE_PIN PC15
@ -93,7 +89,6 @@
#define Z2_DIR_PIN PC14 #define Z2_DIR_PIN PC14
#define Z2_ENABLE_PIN PC15 #define Z2_ENABLE_PIN PC15
#define SCK_PIN PA5 #define SCK_PIN PA5
#define MISO_PIN PA6 #define MISO_PIN PA6
#define MOSI_PIN PA7 #define MOSI_PIN PA7
@ -156,7 +151,6 @@
#define SERVO0_PIN PE13 #define SERVO0_PIN PE13
#define SERVO1_PIN PE14 #define SERVO1_PIN PE14
#define SDSS PA8 #define SDSS PA8
#define SS_PIN PA8 #define SS_PIN PA8
#define LED_PIN PA2 // Alive #define LED_PIN PA2 // Alive

View file

@ -87,7 +87,6 @@
//#define Z_STOP_PIN 27 // B7 //#define Z_STOP_PIN 27 // B7
//#define E_STOP_PIN 36 // E4 //#define E_STOP_PIN 36 // E4
// //
// Limit Switch definitions that match the SILKSCREEN // Limit Switch definitions that match the SILKSCREEN
// //