Format some pins files
This commit is contained in:
committed by
Scott Lahteine
parent
9340a33980
commit
2c325c2a7d
@@ -32,133 +32,133 @@
|
||||
|
||||
//#define I2C_EEPROM
|
||||
|
||||
#define E2END 0xFFF // EEPROM end address (4kB)
|
||||
#define E2END 0xFFF // EEPROM end address (4kB)
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
//#define SERVO0_PIN PE13
|
||||
//#define SERVO1_PIN PE14
|
||||
//#define SERVO0_PIN PE13
|
||||
//#define SERVO1_PIN PE14
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_STOP_PIN PE10
|
||||
#define Y_STOP_PIN PE9
|
||||
#define Z_STOP_PIN PE8
|
||||
#define X_STOP_PIN PE10
|
||||
#define Y_STOP_PIN PE9
|
||||
#define Z_STOP_PIN PE8
|
||||
|
||||
//
|
||||
// Z Probe (when not Z_MIN_PIN)
|
||||
//
|
||||
#ifndef Z_MIN_PROBE_PIN
|
||||
#define Z_MIN_PROBE_PIN PA4
|
||||
#define Z_MIN_PROBE_PIN PA4
|
||||
#endif
|
||||
|
||||
//
|
||||
// Filament runout
|
||||
//
|
||||
#define FIL_RUNOUT_PIN PA3
|
||||
#define FIL_RUNOUT_PIN PA3
|
||||
|
||||
//
|
||||
// Steppers
|
||||
//
|
||||
|
||||
#define STEPPER_ENABLE_PIN PB2
|
||||
#define STEPPER_ENABLE_PIN PB2
|
||||
|
||||
#define X_STEP_PIN PC6 // X_STEP
|
||||
#define X_DIR_PIN PC7 // X_DIR
|
||||
#define X_ENABLE_PIN PB2 //
|
||||
#define X_STEP_PIN PC6 // X_STEP
|
||||
#define X_DIR_PIN PC7 // X_DIR
|
||||
#define X_ENABLE_PIN PB2 //
|
||||
#ifndef X_CS_PIN
|
||||
#define X_CS_PIN PC8 // X_CS
|
||||
#define X_CS_PIN PC8 // X_CS
|
||||
#endif
|
||||
|
||||
#define Y_STEP_PIN PD9 // Y_STEP
|
||||
#define Y_DIR_PIN PD10 // Y_DIR
|
||||
#define Y_ENABLE_PIN PB2 //
|
||||
#define Y_STEP_PIN PD9 // Y_STEP
|
||||
#define Y_DIR_PIN PD10 // Y_DIR
|
||||
#define Y_ENABLE_PIN PB2 //
|
||||
#ifndef Y_CS_PIN
|
||||
#define Y_CS_PIN PD11 // Y_CS
|
||||
#define Y_CS_PIN PD11 // Y_CS
|
||||
#endif
|
||||
|
||||
#define Z_STEP_PIN PE15 // Z_STEP
|
||||
#define Z_DIR_PIN PB10 // Z_DIR
|
||||
#define Z_ENABLE_PIN PB2
|
||||
#define Z_STEP_PIN PE15 // Z_STEP
|
||||
#define Z_DIR_PIN PB10 // Z_DIR
|
||||
#define Z_ENABLE_PIN PB2
|
||||
#ifndef Z_CS_PIN
|
||||
#define Z_CS_PIN PD8
|
||||
#define Z_CS_PIN PD8
|
||||
#endif
|
||||
|
||||
#define E0_STEP_PIN PB1
|
||||
#define E0_DIR_PIN PB13
|
||||
#define E0_ENABLE_PIN PB2
|
||||
#define E0_STEP_PIN PB1
|
||||
#define E0_DIR_PIN PB13
|
||||
#define E0_ENABLE_PIN PB2
|
||||
#ifndef E0_CS_PIN
|
||||
#define E0_CS_PIN PE11
|
||||
#define E0_CS_PIN PE11
|
||||
#endif
|
||||
|
||||
#define E1_STEP_PIN PC4
|
||||
#define E1_DIR_PIN PC5
|
||||
#define E1_ENABLE_PIN PB2
|
||||
#define E1_STEP_PIN PC4
|
||||
#define E1_DIR_PIN PC5
|
||||
#define E1_ENABLE_PIN PB2
|
||||
#ifndef E1_CS_PIN
|
||||
#define E1_CS_PIN PB0
|
||||
#define E1_CS_PIN PB0
|
||||
#endif
|
||||
|
||||
#define SCK_PIN PE12 // PA5 // SPI1 for SD card
|
||||
#define MISO_PIN PE13 // PA6
|
||||
#define MOSI_PIN PE14 // PA7
|
||||
#define SCK_PIN PE12 // PA5 // SPI1 for SD card
|
||||
#define MISO_PIN PE13 // PA6
|
||||
#define MOSI_PIN PE14 // PA7
|
||||
|
||||
// added for SD card : optional or not ???
|
||||
//#define SD_CHIP_SELECT_PIN SDSS // The default chip select pin for the SD card is SS.
|
||||
//#define SD_CHIP_SELECT_PIN SDSS // The default chip select pin for the SD card is SS.
|
||||
// The following three pins must not be redefined for hardware SPI.
|
||||
//#define SPI_MOSI_PIN MOSI_PIN // SPI Master Out Slave In pin
|
||||
//#define SPI_MISO_PIN MISO_PIN // SPI Master In Slave Out pin
|
||||
//#define SPI_SCK_PIN SCK_PIN // SPI Clock pin
|
||||
//#define SPI_MOSI_PIN MOSI_PIN // SPI Master Out Slave In pin
|
||||
//#define SPI_MISO_PIN MISO_PIN // SPI Master In Slave Out pin
|
||||
//#define SPI_SCK_PIN SCK_PIN // SPI Clock pin
|
||||
|
||||
//
|
||||
// Temperature Sensors (Analog inputs)
|
||||
//
|
||||
|
||||
#define TEMP_0_PIN PC0 // Analog Input
|
||||
#define TEMP_1_PIN PC1 // Analog Input
|
||||
#define TEMP_2_PIN PC2 // Analog Input
|
||||
#define TEMP_3_PIN PC3 // Analog Input
|
||||
#define TEMP_BED_PIN PC3 // Analog Input
|
||||
#define TEMP_0_PIN PC0 // Analog Input
|
||||
#define TEMP_1_PIN PC1 // Analog Input
|
||||
#define TEMP_2_PIN PC2 // Analog Input
|
||||
#define TEMP_3_PIN PC3 // Analog Input
|
||||
#define TEMP_BED_PIN PC3 // Analog Input
|
||||
|
||||
//
|
||||
// Heaters / Fans
|
||||
//
|
||||
|
||||
#define HEATER_0_PIN PD15
|
||||
#define HEATER_1_PIN PD14
|
||||
#define HEATER_BED_PIN PD12
|
||||
#define HEATER_0_PIN PD15
|
||||
#define HEATER_1_PIN PD14
|
||||
#define HEATER_BED_PIN PD12
|
||||
|
||||
#ifndef FAN_PIN
|
||||
#define FAN_PIN PD13
|
||||
#define FAN_PIN PD13
|
||||
#endif
|
||||
#define FAN1_PIN PB5 // PA0
|
||||
#define FAN2_PIN PB4 // PA1
|
||||
#define FAN1_PIN PB5 // PA0
|
||||
#define FAN2_PIN PB4 // PA1
|
||||
|
||||
#define ORIG_E0_AUTO_FAN_PIN PD13 // Use this by NOT overriding E0_AUTO_FAN_PIN
|
||||
#define ORIG_E0_AUTO_FAN_PIN PD13 // Use this by NOT overriding E0_AUTO_FAN_PIN
|
||||
|
||||
//
|
||||
// Misc. Functions
|
||||
//
|
||||
|
||||
//#define CASE_LIGHT_PIN_CI PF13
|
||||
//#define CASE_LIGHT_PIN_DO PF14
|
||||
//#define NEOPIXEL_PIN PF13
|
||||
//#define CASE_LIGHT_PIN_CI PF13
|
||||
//#define CASE_LIGHT_PIN_DO PF14
|
||||
//#define NEOPIXEL_PIN PF13
|
||||
|
||||
//
|
||||
// Prusa i3 MK2 Multi Material Multiplexer Support
|
||||
//
|
||||
//#define E_MUX0_PIN PG3
|
||||
//#define E_MUX1_PIN PG4
|
||||
//#define E_MUX0_PIN PG3
|
||||
//#define E_MUX1_PIN PG4
|
||||
|
||||
#define LED_PIN PB14 // Alive
|
||||
#define PS_ON_PIN PE0
|
||||
#define KILL_PIN PD5
|
||||
#define POWER_LOSS_PIN PA4 // ?? Power loss / nAC_FAULT
|
||||
#define LED_PIN PB14 // Alive
|
||||
#define PS_ON_PIN PE0
|
||||
#define KILL_PIN PD5
|
||||
#define POWER_LOSS_PIN PA4 // ?? Power loss / nAC_FAULT
|
||||
|
||||
#if ENABLED(SDSUPPORT)
|
||||
#define SD_DETECT_PIN PB7
|
||||
#define SS_PIN PB_15 // USD_CS -> CS for onboard SD
|
||||
#define SD_DETECT_PIN PB7
|
||||
#define SS_PIN PB_15 // USD_CS -> CS for onboard SD
|
||||
#endif
|
||||
|
||||
//
|
||||
@@ -166,29 +166,29 @@
|
||||
//
|
||||
#if HAS_SPI_LCD
|
||||
#if ENABLED(SDSUPPORT)
|
||||
#define SDSS PB6 // CS for SD card in LCD
|
||||
#define SDSS PB6 // CS for SD card in LCD
|
||||
#endif
|
||||
#define BEEPER_PIN PC9
|
||||
#define LCD_PINS_RS PC12
|
||||
#define LCD_PINS_ENABLE PD7
|
||||
#define LCD_PINS_D4 PD1
|
||||
#define LCD_PINS_D5 PD2
|
||||
#define LCD_PINS_D6 PD3
|
||||
#define LCD_PINS_D7 PD4
|
||||
#define BTN_EN1 PD6
|
||||
#define BTN_EN2 PD0
|
||||
#define BTN_ENC PB12
|
||||
#define BEEPER_PIN PC9
|
||||
#define LCD_PINS_RS PC12
|
||||
#define LCD_PINS_ENABLE PD7
|
||||
#define LCD_PINS_D4 PD1
|
||||
#define LCD_PINS_D5 PD2
|
||||
#define LCD_PINS_D6 PD3
|
||||
#define LCD_PINS_D7 PD4
|
||||
#define BTN_EN1 PD6
|
||||
#define BTN_EN2 PD0
|
||||
#define BTN_ENC PB12
|
||||
#endif
|
||||
|
||||
//
|
||||
// ST7920 Delays
|
||||
//
|
||||
#ifndef ST7920_DELAY_1
|
||||
#define ST7920_DELAY_1 DELAY_NS(96)
|
||||
#define ST7920_DELAY_1 DELAY_NS(96)
|
||||
#endif
|
||||
#ifndef ST7920_DELAY_2
|
||||
#define ST7920_DELAY_2 DELAY_NS(48)
|
||||
#define ST7920_DELAY_2 DELAY_NS(48)
|
||||
#endif
|
||||
#ifndef ST7920_DELAY_3
|
||||
#define ST7920_DELAY_3 DELAY_NS(715)
|
||||
#define ST7920_DELAY_3 DELAY_NS(715)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user