Keep "astyled" elements in pins files
This commit is contained in:
@@ -207,7 +207,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(DISABLE_XMIN_ENDSTOP)
|
#if ENABLED(DISABLE_XMIN_ENDSTOP)
|
||||||
#undef X_MIN_PIN
|
#undef X_MIN_PIN
|
||||||
#define X_MIN_PIN -1
|
#define X_MIN_PIN -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -226,7 +226,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(DISABLE_ZMIN_ENDSTOP)
|
#if ENABLED(DISABLE_ZMIN_ENDSTOP)
|
||||||
#undef Z_MIN_PIN
|
#undef Z_MIN_PIN
|
||||||
#define Z_MIN_PIN -1
|
#define Z_MIN_PIN -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -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
|
||||||
|
@@ -15,10 +15,10 @@
|
|||||||
#define EXTRUDER_3_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
|
//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
|
//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
|
||||||
@@ -74,32 +74,32 @@
|
|||||||
|
|
||||||
//
|
//
|
||||||
//These Servo pins are for when they are defined. Tested for usage with bed leveling
|
//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.
|
//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.
|
//Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
|
||||||
//
|
//
|
||||||
#define SERVO0_PIN 47
|
#define SERVO0_PIN 47
|
||||||
|
|
||||||
//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
|
||||||
|
|
||||||
#define SDSS 53
|
#define SDSS 53
|
||||||
#define SD_DETECT_PIN 49
|
#define SD_DETECT_PIN 49
|
||||||
|
|
||||||
#define KILL_PIN 31
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
#define KILL_PIN 31
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#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
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
#define E0_ENABLE_PIN 13
|
#define E0_ENABLE_PIN 13
|
||||||
|
|
||||||
#define TEMP_0_PIN 0 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
|
#define TEMP_0_PIN 0 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
|
||||||
#define TEMP_1_PIN -1
|
#define TEMP_1_PIN -1
|
||||||
#define TEMP_2_PIN -1
|
#define TEMP_2_PIN -1
|
||||||
#define TEMP_BED_PIN 5 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
|
#define TEMP_BED_PIN 5 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
|
||||||
#define SDPOWER -1
|
#define SDPOWER -1
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* These Pins are assigned for the modified GEN7 Board from Alfons3.
|
* These Pins are assigned for the modified GEN7 Board from Alfons3.
|
||||||
* Please review the pins and adjust them for your needs.
|
* Please review the pins and adjust them for your needs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
|
#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
|
||||||
#error Oops! Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
|
#error Oops! Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
|
||||||
|
@@ -25,7 +25,7 @@
|
|||||||
#define Y_DIR_PIN 66 // A12
|
#define Y_DIR_PIN 66 // A12
|
||||||
#define Y_ENABLE_PIN 64//A10
|
#define Y_ENABLE_PIN 64//A10
|
||||||
#define Y_MIN_PIN 38
|
#define Y_MIN_PIN 38
|
||||||
#define Y_MAX_PIN 41
|
#define Y_MAX_PIN 41
|
||||||
|
|
||||||
#define Z_STEP_PIN 68 // A14
|
#define Z_STEP_PIN 68 // A14
|
||||||
#define Z_DIR_PIN 69 // A15
|
#define Z_DIR_PIN 69 // A15
|
||||||
@@ -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
|
||||||
|
|
||||||
|
@@ -25,15 +25,15 @@
|
|||||||
#define X_MIN_PIN 37
|
#define X_MIN_PIN 37
|
||||||
#define X_MAX_PIN 40 // put to -1 to disable
|
#define X_MAX_PIN 40 // put to -1 to disable
|
||||||
|
|
||||||
#define Y_STEP_PIN 5
|
#define Y_STEP_PIN 5
|
||||||
#define Y_DIR_PIN 17
|
#define Y_DIR_PIN 17
|
||||||
#define Y_ENABLE_PIN 4
|
#define Y_ENABLE_PIN 4
|
||||||
#define Y_MIN_PIN 41
|
#define Y_MIN_PIN 41
|
||||||
#define Y_MAX_PIN 38 // put to -1 to disable
|
#define Y_MAX_PIN 38 // put to -1 to disable
|
||||||
|
|
||||||
#define Z_STEP_PIN 16
|
#define Z_STEP_PIN 16
|
||||||
#define Z_DIR_PIN 11
|
#define Z_DIR_PIN 11
|
||||||
#define Z_ENABLE_PIN 3
|
#define Z_ENABLE_PIN 3
|
||||||
#define Z_MIN_PIN 18
|
#define Z_MIN_PIN 18
|
||||||
#define Z_MAX_PIN 19 // put to -1 to disable
|
#define Z_MAX_PIN 19 // put to -1 to disable
|
||||||
|
|
||||||
@@ -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
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
#undef E0_MS2_PIN
|
#undef E0_MS2_PIN
|
||||||
#undef E1_MS1_PIN
|
#undef E1_MS1_PIN
|
||||||
#undef E1_MS2_PIN
|
#undef E1_MS2_PIN
|
||||||
|
|
||||||
#define X_STEP_PIN 37
|
#define X_STEP_PIN 37
|
||||||
#define X_DIR_PIN 48
|
#define X_DIR_PIN 48
|
||||||
#define X_MIN_PIN 12
|
#define X_MIN_PIN 12
|
||||||
|
@@ -88,26 +88,26 @@
|
|||||||
#define SDSS 40 //use SD card on Panelolu2 (Teensyduino pin mapping)
|
#define SDSS 40 //use SD card on Panelolu2 (Teensyduino pin mapping)
|
||||||
#endif // LCD_I2C_PANELOLU2
|
#endif // LCD_I2C_PANELOLU2
|
||||||
//not connected to a pin
|
//not connected to a pin
|
||||||
#define SD_DETECT_PIN -1
|
#define SD_DETECT_PIN -1
|
||||||
#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)
|
|
||||||
#define BTN_EN1 26
|
|
||||||
#define BTN_EN2 27
|
|
||||||
#define BTN_ENC 47 //the click switch
|
|
||||||
|
|
||||||
#define SDSS 45
|
//The encoder and click button (FastIO Pins)
|
||||||
#define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
#define BTN_EN1 26
|
||||||
|
#define BTN_EN2 27
|
||||||
|
#define BTN_ENC 47 //the click switch
|
||||||
|
|
||||||
#if ENABLED(TEMP_STAT_LEDS)
|
#define SDSS 45
|
||||||
#define STAT_LED_RED 12 //Non-FastIO
|
#define SD_DETECT_PIN -1 // FastIO (Manual says 72 I'm not certain cause I can't test)
|
||||||
#define STAT_LED_BLUE 10 //Non-FastIO
|
|
||||||
#endif
|
#if ENABLED(TEMP_STAT_LEDS)
|
||||||
|
#define STAT_LED_RED 12 //Non-FastIO
|
||||||
|
#define STAT_LED_BLUE 10 //Non-FastIO
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -28,7 +28,7 @@
|
|||||||
#undef E0_MS2_PIN
|
#undef E0_MS2_PIN
|
||||||
#undef E1_MS1_PIN
|
#undef E1_MS1_PIN
|
||||||
#undef E1_MS2_PIN
|
#undef E1_MS2_PIN
|
||||||
|
|
||||||
#define X_STEP_PIN 37
|
#define X_STEP_PIN 37
|
||||||
#define X_DIR_PIN 48
|
#define X_DIR_PIN 48
|
||||||
#define X_MIN_PIN 12
|
#define X_MIN_PIN 12
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
#define SDPOWER -1
|
#define SDPOWER -1
|
||||||
#define SDSS 53
|
#define SDSS 53
|
||||||
#define LED_PIN 13
|
#define LED_PIN 13
|
||||||
#define FAN_PIN 8
|
#define FAN_PIN 8
|
||||||
|
|
||||||
/**********************************************************
|
/**********************************************************
|
||||||
Fan Pins
|
Fan Pins
|
||||||
@@ -161,26 +161,26 @@
|
|||||||
#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
|
|
||||||
#define BTN_EN1 85
|
|
||||||
#define BTN_EN2 84
|
|
||||||
#define BTN_ENC 83 //the click switch
|
|
||||||
|
|
||||||
#define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
|
//The encoder and click button
|
||||||
|
#define BTN_EN1 85
|
||||||
|
#define BTN_EN2 84
|
||||||
|
#define BTN_ENC 83 //the click switch
|
||||||
|
|
||||||
|
#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
|
||||||
|
|
||||||
#if ENABLED(FILAMENT_SENSOR)
|
#if ENABLED(FILAMENT_SENSOR)
|
||||||
//Filip added pin for Filament sensor analog input
|
//Filip added pin for Filament sensor analog input
|
||||||
#define FILWIDTH_PIN 3
|
#define FILWIDTH_PIN 3
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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
|
||||||
|
|
||||||
|
@@ -95,9 +95,9 @@
|
|||||||
#define LCD_PINS_D4 17 //SCK (CLK) clock
|
#define LCD_PINS_D4 17 //SCK (CLK) clock
|
||||||
#define BEEPER_PIN 27 // Pin 27 is taken by LED_PIN, but Melzi LED does nothing with Marlin so this can be used for BEEPER_PIN. You can use this pin with M42 instead of BEEPER_PIN.
|
#define BEEPER_PIN 27 // Pin 27 is taken by LED_PIN, but Melzi LED does nothing with Marlin so this can be used for BEEPER_PIN. You can use this pin with M42 instead of BEEPER_PIN.
|
||||||
#else // Sanguinololu 1.3
|
#else // Sanguinololu 1.3
|
||||||
#define LCD_PINS_RS 4
|
#define LCD_PINS_RS 4
|
||||||
#define LCD_PINS_ENABLE 17
|
#define LCD_PINS_ENABLE 17
|
||||||
#define LCD_PINS_D4 30
|
#define LCD_PINS_D4 30
|
||||||
#define LCD_PINS_D5 29
|
#define LCD_PINS_D5 29
|
||||||
#define LCD_PINS_D6 28
|
#define LCD_PINS_D6 28
|
||||||
#define LCD_PINS_D7 27
|
#define LCD_PINS_D7 27
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
#define LCD_CONTRAST 1
|
#define LCD_CONTRAST 1
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Uncomment screen orientation
|
// Uncomment screen orientation
|
||||||
#define LCD_SCREEN_ROT_0
|
#define LCD_SCREEN_ROT_0
|
||||||
//#define LCD_SCREEN_ROT_90
|
//#define LCD_SCREEN_ROT_90
|
||||||
|
@@ -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
|
||||||
|
@@ -11,32 +11,32 @@
|
|||||||
*
|
*
|
||||||
* USB
|
* USB
|
||||||
* GND GND |-----#####-----| +5V ATX +5SB
|
* GND GND |-----#####-----| +5V ATX +5SB
|
||||||
* ATX PS_ON PWM 27 |b7 ##### b6| 26 PWM* Stepper Enable
|
* ATX PS_ON PWM 27 |b7 ##### b6| 26 PWM* Stepper Enable
|
||||||
* PWM 0 |d0 b5| 25 PWM*
|
* PWM 0 |d0 b5| 25 PWM*
|
||||||
* PWM 1 |d1 b4| 24 PWM
|
* PWM 1 |d1 b4| 24 PWM
|
||||||
* X_MIN 2 |d2 b3| 23 MISO_PIN
|
* X_MIN 2 |d2 b3| 23 MISO_PIN
|
||||||
* Y_MIN 3 |d3 b2| 22 MOSI_PIN
|
* Y_MIN 3 |d3 b2| 22 MOSI_PIN
|
||||||
* Z_MIN 4 |d4 * * b1| 21 SCK_PIN
|
* Z_MIN 4 |d4 * * b1| 21 SCK_PIN
|
||||||
* 5 |d5 e e b0| 20 SDSS
|
* 5 |d5 e e b0| 20 SDSS
|
||||||
* LED 6 |d6 5 4 e7| 19
|
* LED 6 |d6 5 4 e7| 19
|
||||||
* 7 |d7 e6| 18
|
* 7 |d7 e6| 18
|
||||||
* LCD RS 8 |e0 | GND
|
* LCD RS 8 |e0 | GND
|
||||||
* LCD EN 9 |e1 a4 a0 R| AREF
|
* LCD EN 9 |e1 a4 a0 R| AREF
|
||||||
* LCD D4 10 |c0 a5 a1 f0| 38 A0 ENC_1
|
* LCD D4 10 |c0 a5 a1 f0| 38 A0 ENC_1
|
||||||
* LCD D5 11 |c1 a6 a2 f1| 39 A1 ENC_2
|
* LCD D5 11 |c1 a6 a2 f1| 39 A1 ENC_2
|
||||||
* LCD D6 12 |c2 a7 a3 f2| 40 A2 ENC_CLK
|
* LCD D6 12 |c2 a7 a3 f2| 40 A2 ENC_CLK
|
||||||
* LCD D6 13 |c3 f3| 41 A3
|
* LCD D6 13 |c3 f3| 41 A3
|
||||||
* Bed Heat PWM 14 |c4 V G R f4| 42 A4
|
* Bed Heat PWM 14 |c4 V G R f4| 42 A4
|
||||||
* Extruder Heat PWM 15 |c5 c n S f5| 43 A5
|
* Extruder Heat PWM 15 |c5 c n S f5| 43 A5
|
||||||
* Fan PWM 16 |c6 c d T f6| 44 A6 Bed TC
|
* Fan PWM 16 |c6 c d T f6| 44 A6 Bed TC
|
||||||
* 17 |c7 * * * f7| 45 A7 Extruder TC * 4.7k * +5
|
* 17 |c7 * * * f7| 45 A7 Extruder TC * 4.7k * +5
|
||||||
* -----------------
|
* -----------------
|
||||||
*
|
*
|
||||||
* Interior E4: 36, INT4
|
* Interior E4: 36, INT4
|
||||||
* Interior E5: 37, INT5
|
* Interior E5: 37, INT5
|
||||||
* Interior PA0-7: 28-35 -- Printrboard and Teensylu use these pins for step & direction:
|
* Interior PA0-7: 28-35 -- Printrboard and Teensylu use these pins for step & direction:
|
||||||
* T++ PA Signal Marlin
|
* T++ PA Signal Marlin
|
||||||
*
|
*
|
||||||
* Z STEP 32 a4 a0 28 X STEP
|
* Z STEP 32 a4 a0 28 X STEP
|
||||||
* Z DIR 33 a5 a1 29 X DIR
|
* Z DIR 33 a5 a1 29 X DIR
|
||||||
* E STEP 34 a6 a2 30 Y STEP
|
* E STEP 34 a6 a2 30 Y STEP
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
#define X_STEP_PIN 28 // 0 Marlin
|
#define X_STEP_PIN 28 // 0 Marlin
|
||||||
#define X_DIR_PIN 29 // 1 Marlin
|
#define X_DIR_PIN 29 // 1 Marlin
|
||||||
#define X_ENABLE_PIN 26
|
#define X_ENABLE_PIN 26
|
||||||
|
|
||||||
#define Y_STEP_PIN 30 // 2 Marlin
|
#define Y_STEP_PIN 30 // 2 Marlin
|
||||||
#define Y_DIR_PIN 31 // 3
|
#define Y_DIR_PIN 31 // 3
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
#define TEMP_2_PIN -1
|
#define TEMP_2_PIN -1
|
||||||
|
|
||||||
#define SDPOWER -1
|
#define SDPOWER -1
|
||||||
#define SD_DETECT_PIN -1
|
#define SD_DETECT_PIN -1
|
||||||
#define SDSS 20 // 8
|
#define SDSS 20 // 8
|
||||||
#define LED_PIN 6
|
#define LED_PIN 6
|
||||||
#define PS_ON_PIN 27
|
#define PS_ON_PIN 27
|
||||||
@@ -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
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
#define SDSS 40 //use SD card on Panelolu2 (Teensyduino pin mapping)
|
#define SDSS 40 //use SD card on Panelolu2 (Teensyduino pin mapping)
|
||||||
#endif // LCD_I2C_PANELOLU2
|
#endif // LCD_I2C_PANELOLU2
|
||||||
|
|
||||||
#define SD_DETECT_PIN -1
|
#define SD_DETECT_PIN -1
|
||||||
|
|
||||||
#endif // ULTRA_LCD && NEWPANEL
|
#endif // ULTRA_LCD && NEWPANEL
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user