Keep "astyled" elements in pins files
This commit is contained in:
@@ -243,13 +243,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SENSITIVE_PINS { 0, 1, \
|
#define SENSITIVE_PINS { 0, 1, \
|
||||||
X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, \
|
X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, \
|
||||||
Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, \
|
Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, \
|
||||||
Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, Z_MIN_PROBE_PIN, \
|
Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, Z_MIN_PROBE_PIN, \
|
||||||
PS_ON_PIN, HEATER_BED_PIN, FAN_PIN, \
|
PS_ON_PIN, HEATER_BED_PIN, FAN_PIN, \
|
||||||
_E0_PINS _E1_PINS _E2_PINS _E3_PINS \
|
_E0_PINS _E1_PINS _E2_PINS _E3_PINS \
|
||||||
analogInputToDigitalPin(TEMP_BED_PIN) \
|
analogInputToDigitalPin(TEMP_BED_PIN) \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define HAS_DIGIPOTSS (DIGIPOTSS_PIN >= 0)
|
#define HAS_DIGIPOTSS (DIGIPOTSS_PIN >= 0)
|
||||||
|
|
||||||
|
@@ -53,7 +53,7 @@
|
|||||||
#define SDSS 20
|
#define SDSS 20
|
||||||
|
|
||||||
#if DISABLED(SDSUPPORT)
|
#if DISABLED(SDSUPPORT)
|
||||||
// these pins are defined in the SD library if building with SD support
|
// these pins are defined in the SD library if building with SD support
|
||||||
#define SCK_PIN 9
|
#define SCK_PIN 9
|
||||||
#define MISO_PIN 11
|
#define MISO_PIN 11
|
||||||
#define MOSI_PIN 10
|
#define MOSI_PIN 10
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
//MIN endstops soldered onto the board. Delta code wants the homing endstops to be
|
//MIN endstops soldered onto the board. Delta code wants the homing endstops to be
|
||||||
//the MAX so I swapped them here.
|
//the MAX so I swapped them here.
|
||||||
//
|
//
|
||||||
#if ENABLED(DELTA)
|
#if ENABLED(DELTA)
|
||||||
#undef X_MIN_PIN
|
#undef X_MIN_PIN
|
||||||
#undef X_MAX_PIN
|
#undef X_MAX_PIN
|
||||||
#undef Y_MIN_PIN
|
#undef Y_MIN_PIN
|
||||||
@@ -32,14 +32,14 @@
|
|||||||
#define Y_MAX_PIN 14
|
#define Y_MAX_PIN 14
|
||||||
#define Z_MIN_PIN 19
|
#define Z_MIN_PIN 19
|
||||||
#define Z_MAX_PIN 18
|
#define Z_MAX_PIN 18
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
#if ENABLED(Z_MIN_PROBE_ENDSTOP)
|
#if ENABLED(Z_MIN_PROBE_ENDSTOP)
|
||||||
//#undef Z_MIN_PIN
|
//#undef Z_MIN_PIN
|
||||||
//#define Z_MIN_PIN 15
|
//#define Z_MIN_PIN 15
|
||||||
// Define a pin to use as the signal pin on Arduino for the Z probe endstop.
|
// Define a pin to use as the signal pin on Arduino for the Z probe endstop.
|
||||||
#define Z_MIN_PROBE_PIN 19
|
#define Z_MIN_PROBE_PIN 19
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
#define E2_STEP_PIN 23
|
#define E2_STEP_PIN 23
|
||||||
#define E2_DIR_PIN 25
|
#define E2_DIR_PIN 25
|
||||||
@@ -81,14 +81,14 @@
|
|||||||
|
|
||||||
//LCD Pins//
|
//LCD Pins//
|
||||||
|
|
||||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||||
#define BEEPER_PIN 33
|
#define BEEPER_PIN 33
|
||||||
// Pins for DOGM SPI LCD Support
|
// Pins for DOGM SPI LCD Support
|
||||||
#define DOGLCD_A0 44
|
#define DOGLCD_A0 44
|
||||||
#define DOGLCD_CS 45
|
#define DOGLCD_CS 45
|
||||||
#define LCD_SCREEN_ROT_180
|
#define LCD_SCREEN_ROT_180
|
||||||
|
|
||||||
//The encoder and click button
|
//The encoder and click button
|
||||||
#define BTN_EN1 22
|
#define BTN_EN1 22
|
||||||
#define BTN_EN2 7
|
#define BTN_EN2 7
|
||||||
#define BTN_ENC 39 //the click switch
|
#define BTN_ENC 39 //the click switch
|
||||||
@@ -97,9 +97,9 @@
|
|||||||
#define SD_DETECT_PIN 49
|
#define SD_DETECT_PIN 49
|
||||||
|
|
||||||
#define KILL_PIN 31
|
#define KILL_PIN 31
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
#if ENABLED(TEMP_STAT_LEDS)
|
||||||
#define STAT_LED_RED 32
|
#define STAT_LED_RED 32
|
||||||
#define STAT_LED_BLUE 35
|
#define STAT_LED_BLUE 35
|
||||||
#endif
|
#endif
|
||||||
|
@@ -57,7 +57,7 @@
|
|||||||
#define SD_DETECT_PIN 12
|
#define SD_DETECT_PIN 12
|
||||||
|
|
||||||
#if DISABLED(SDSUPPORT)
|
#if DISABLED(SDSUPPORT)
|
||||||
// these pins are defined in the SD library if building with SD support
|
// these pins are defined in the SD library if building with SD support
|
||||||
#define SCK_PIN 21
|
#define SCK_PIN 21
|
||||||
#define MISO_PIN 23
|
#define MISO_PIN 23
|
||||||
#define MOSI_PIN 22
|
#define MOSI_PIN 22
|
||||||
|
@@ -81,24 +81,24 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(MINIPANEL)
|
#if ENABLED(MINIPANEL)
|
||||||
#define BEEPER_PIN 46
|
#define BEEPER_PIN 46
|
||||||
// Pins for DOGM SPI LCD Support
|
// Pins for DOGM SPI LCD Support
|
||||||
#define DOGLCD_A0 47
|
#define DOGLCD_A0 47
|
||||||
#define DOGLCD_CS 45
|
#define DOGLCD_CS 45
|
||||||
#define LCD_PIN_BL 44 // backlight LED on PA3
|
#define LCD_PIN_BL 44 // backlight LED on PA3
|
||||||
|
|
||||||
#define KILL_PIN 12
|
#define KILL_PIN 12
|
||||||
// GLCD features
|
// GLCD features
|
||||||
//#define LCD_CONTRAST 190
|
//#define LCD_CONTRAST 190
|
||||||
// Uncomment screen orientation
|
// Uncomment screen orientation
|
||||||
//#define LCD_SCREEN_ROT_90
|
//#define LCD_SCREEN_ROT_90
|
||||||
//#define LCD_SCREEN_ROT_180
|
//#define LCD_SCREEN_ROT_180
|
||||||
//#define LCD_SCREEN_ROT_270
|
//#define LCD_SCREEN_ROT_270
|
||||||
//The encoder and click button
|
//The encoder and click button
|
||||||
#define BTN_EN1 48
|
#define BTN_EN1 48
|
||||||
#define BTN_EN2 11
|
#define BTN_EN2 11
|
||||||
#define BTN_ENC 10 //the click switch
|
#define BTN_ENC 10 //the click switch
|
||||||
//not connected to a pin
|
//not connected to a pin
|
||||||
#define SD_DETECT_PIN 49
|
#define SD_DETECT_PIN 49
|
||||||
#endif //Minipanel
|
#endif //Minipanel
|
||||||
|
|
||||||
|
@@ -91,4 +91,4 @@
|
|||||||
#define BLEN_B 1
|
#define BLEN_B 1
|
||||||
#define BLEN_A 0
|
#define BLEN_A 0
|
||||||
|
|
||||||
#define SD_DETECT_PIN -1 // Megatronics doesn't use this
|
#define SD_DETECT_PIN -1 // Megatronics doesn't use this
|
||||||
|
@@ -92,22 +92,22 @@
|
|||||||
#endif // ULTRA_LCD && NEWPANEL
|
#endif // ULTRA_LCD && NEWPANEL
|
||||||
|
|
||||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||||
#define BEEPER_PIN 32 //FastIO
|
#define BEEPER_PIN 32 //FastIO
|
||||||
// Pins for DOGM SPI LCD Support
|
// Pins for DOGM SPI LCD Support
|
||||||
#define DOGLCD_A0 42 //Non-FastIO
|
#define DOGLCD_A0 42 //Non-FastIO
|
||||||
#define DOGLCD_CS 43 //Non-FastIO
|
#define DOGLCD_CS 43 //Non-FastIO
|
||||||
#define LCD_SCREEN_ROT_180
|
#define LCD_SCREEN_ROT_180
|
||||||
|
|
||||||
//The encoder and click button (FastIO Pins)
|
//The encoder and click button (FastIO Pins)
|
||||||
#define BTN_EN1 26
|
#define BTN_EN1 26
|
||||||
#define BTN_EN2 27
|
#define BTN_EN2 27
|
||||||
#define BTN_ENC 47 //the click switch
|
#define BTN_ENC 47 //the click switch
|
||||||
|
|
||||||
#define SDSS 45
|
#define SDSS 45
|
||||||
#define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
#define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
||||||
|
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
#if ENABLED(TEMP_STAT_LEDS)
|
||||||
#define STAT_LED_RED 12 //Non-FastIO
|
#define STAT_LED_RED 12 //Non-FastIO
|
||||||
#define STAT_LED_BLUE 10 //Non-FastIO
|
#define STAT_LED_BLUE 10 //Non-FastIO
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -161,22 +161,22 @@
|
|||||||
#endif // ULTRA_LCD
|
#endif // ULTRA_LCD
|
||||||
|
|
||||||
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
#if ENABLED(VIKI2) || ENABLED(miniVIKI)
|
||||||
#define BEEPER_PIN 44
|
#define BEEPER_PIN 44
|
||||||
// Pins for DOGM SPI LCD Support
|
// Pins for DOGM SPI LCD Support
|
||||||
#define DOGLCD_A0 70
|
#define DOGLCD_A0 70
|
||||||
#define DOGLCD_CS 71
|
#define DOGLCD_CS 71
|
||||||
#define LCD_SCREEN_ROT_180
|
#define LCD_SCREEN_ROT_180
|
||||||
|
|
||||||
//The encoder and click button
|
//The encoder and click button
|
||||||
#define BTN_EN1 85
|
#define BTN_EN1 85
|
||||||
#define BTN_EN2 84
|
#define BTN_EN2 84
|
||||||
#define BTN_ENC 83 //the click switch
|
#define BTN_ENC 83 //the click switch
|
||||||
|
|
||||||
#define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
|
#define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
|
||||||
|
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
#if ENABLED(TEMP_STAT_LEDS)
|
||||||
#define STAT_LED_RED 22
|
#define STAT_LED_RED 22
|
||||||
#define STAT_LED_BLUE 32
|
#define STAT_LED_BLUE 32
|
||||||
#endif
|
#endif
|
||||||
#endif // VIKI2/miniVIKI
|
#endif // VIKI2/miniVIKI
|
||||||
|
|
||||||
|
@@ -170,26 +170,26 @@
|
|||||||
#define DOGLCD_A0 27
|
#define DOGLCD_A0 27
|
||||||
#define LCD_PIN_BL 33
|
#define LCD_PIN_BL 33
|
||||||
#elif ENABLED(MINIPANEL)
|
#elif ENABLED(MINIPANEL)
|
||||||
#define BEEPER_PIN 42
|
#define BEEPER_PIN 42
|
||||||
// Pins for DOGM SPI LCD Support
|
// Pins for DOGM SPI LCD Support
|
||||||
#define DOGLCD_A0 44
|
#define DOGLCD_A0 44
|
||||||
#define DOGLCD_CS 66
|
#define DOGLCD_CS 66
|
||||||
#define LCD_PIN_BL 65 // backlight LED on A11/D65
|
#define LCD_PIN_BL 65 // backlight LED on A11/D65
|
||||||
#define SDSS 53
|
#define SDSS 53
|
||||||
|
|
||||||
#define KILL_PIN 64
|
#define KILL_PIN 64
|
||||||
// GLCD features
|
// GLCD features
|
||||||
//#define LCD_CONTRAST 190
|
//#define LCD_CONTRAST 190
|
||||||
// Uncomment screen orientation
|
// Uncomment screen orientation
|
||||||
//#define LCD_SCREEN_ROT_90
|
//#define LCD_SCREEN_ROT_90
|
||||||
//#define LCD_SCREEN_ROT_180
|
//#define LCD_SCREEN_ROT_180
|
||||||
//#define LCD_SCREEN_ROT_270
|
//#define LCD_SCREEN_ROT_270
|
||||||
//The encoder and click button
|
//The encoder and click button
|
||||||
#define BTN_EN1 40
|
#define BTN_EN1 40
|
||||||
#define BTN_EN2 63
|
#define BTN_EN2 63
|
||||||
#define BTN_ENC 59 //the click switch
|
#define BTN_ENC 59 //the click switch
|
||||||
//not connected to a pin
|
//not connected to a pin
|
||||||
#define SD_DETECT_PIN 49
|
#define SD_DETECT_PIN 49
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
#define TEMP_2_PIN -1
|
#define TEMP_2_PIN -1
|
||||||
|
|
||||||
#if DISABLED(SDSUPPORT)
|
#if DISABLED(SDSUPPORT)
|
||||||
// these pins are defined in the SD library if building with SD support
|
// these pins are defined in the SD library if building with SD support
|
||||||
#define SCK_PIN 9
|
#define SCK_PIN 9
|
||||||
#define MISO_PIN 11
|
#define MISO_PIN 11
|
||||||
#define MOSI_PIN 10
|
#define MOSI_PIN 10
|
||||||
|
@@ -94,7 +94,7 @@
|
|||||||
#define ALARM_PIN -1
|
#define ALARM_PIN -1
|
||||||
|
|
||||||
#if DISABLED(SDSUPPORT)
|
#if DISABLED(SDSUPPORT)
|
||||||
// these pins are defined in the SD library if building with SD support
|
// these pins are defined in the SD library if building with SD support
|
||||||
#define SCK_PIN 21 // 9
|
#define SCK_PIN 21 // 9
|
||||||
#define MISO_PIN 23 // 11
|
#define MISO_PIN 23 // 11
|
||||||
#define MOSI_PIN 22 // 10
|
#define MOSI_PIN 22 // 10
|
||||||
|
@@ -61,7 +61,7 @@
|
|||||||
#define ALARM_PIN -1
|
#define ALARM_PIN -1
|
||||||
|
|
||||||
#if DISABLED(SDSUPPORT)
|
#if DISABLED(SDSUPPORT)
|
||||||
// these pins are defined in the SD library if building with SD support
|
// these pins are defined in the SD library if building with SD support
|
||||||
#define SCK_PIN 9
|
#define SCK_PIN 9
|
||||||
#define MISO_PIN 11
|
#define MISO_PIN 11
|
||||||
#define MOSI_PIN 10
|
#define MOSI_PIN 10
|
||||||
|
Reference in New Issue
Block a user