Merge pull request #2143 from thinkyhead/fix_command_parser_M110

Cleanup pins in RAMPS_13_EFB boards
This commit is contained in:
Scott Lahteine 2015-05-22 18:47:10 -07:00
commit 3778362f88
5 changed files with 13 additions and 42 deletions

View File

@ -2,10 +2,9 @@
* AZTEEG_X3 Arduino Mega with RAMPS v1.3 pin assignments * AZTEEG_X3 Arduino Mega with RAMPS v1.3 pin assignments
*/ */
#include "pins_RAMPS_13.h" #define IS_RAMPS_EFB
#define FAN_PIN 9 // (Sprinter config) #include "pins_RAMPS_13.h"
#define HEATER_1_PIN -1
//LCD Pins// //LCD Pins//

View File

@ -2,14 +2,10 @@
* BAM&DICE Due (Arduino Mega) pin assignments * BAM&DICE Due (Arduino Mega) pin assignments
*/ */
#define IS_RAMPS_EFB
#include "pins_RAMPS_13.h" #include "pins_RAMPS_13.h"
#undef FAN_PIN
#define FAN_PIN 9 // (Sprinter config)
#undef HEATER_1_PIN
#define HEATER_1_PIN -1
#undef TEMP_0_PIN #undef TEMP_0_PIN
#undef TEMP_1_PIN #undef TEMP_1_PIN
#define TEMP_0_PIN 9 // ANALOG NUMBERING #define TEMP_0_PIN 9 // ANALOG NUMBERING

View File

@ -2,43 +2,20 @@
* FELIXprinters v2.0/3.0 (RAMPS v1.3) pin assignments * FELIXprinters v2.0/3.0 (RAMPS v1.3) pin assignments
*/ */
#define IS_RAMPS_EFB
#include "pins_RAMPS_13.h" #include "pins_RAMPS_13.h"
#undef X_MAX_PIN #undef HEATER_1_PIN
#undef Y_MAX_PIN #define HEATER_1_PIN 7 // EXTRUDER 2
#undef Z_MAX_PIN
#define X_MAX_PIN -1
#define Y_MAX_PIN -1
#define Z_MAX_PIN -1
#undef Y2_STEP_PIN #define DISABLE_MAX_ENDSTOPS
#undef Y2_DIR_PIN
#undef Y2_ENABLE_PIN
#define Y2_STEP_PIN -1
#define Y2_DIR_PIN -1
#define Y2_ENABLE_PIN -1
#undef Z2_STEP_PIN
#undef Z2_DIR_PIN
#undef Z2_ENABLE_PIN
#define Z2_STEP_PIN -1
#define Z2_DIR_PIN -1
#define Z2_ENABLE_PIN -1
#define E1_STEP_PIN 36 // FELIX E1 uses RAMPS Y2/Z2 pins
#define E1_DIR_PIN 34
#define E1_ENABLE_PIN 30
#undef SDPOWER #undef SDPOWER
#define SDPOWER 1 #define SDPOWER 1
#undef FAN_PIN
#define FAN_PIN 9 // (Sprinter config)
#define PS_ON_PIN 12 #define PS_ON_PIN 12
#undef HEATER_1_PIN
#define HEATER_1_PIN 7 // EXTRUDER 2
#if defined(ULTRA_LCD) && defined(NEWPANEL) #if defined(ULTRA_LCD) && defined(NEWPANEL)
#define BLEN_C 2 #define BLEN_C 2

View File

@ -2,10 +2,9 @@
* MKS BASE 1.0 Arduino Mega2560 with RAMPS v1.4 pin assignments * MKS BASE 1.0 Arduino Mega2560 with RAMPS v1.4 pin assignments
*/ */
#include "pins_RAMPS_13.h" #define IS_RAMPS_EFB
#undef FAN_PIN #include "pins_RAMPS_13.h"
#define FAN_PIN 9 // (Sprinter config)
#undef HEATER_1_PIN #undef HEATER_1_PIN
#define HEATER_1_PIN 7 #define HEATER_1_PIN 7

View File

@ -77,7 +77,7 @@
#define FILRUNOUT_PIN 4 #define FILRUNOUT_PIN 4
#endif #endif
#if MB(RAMPS_13_EFB) || MB(RAMPS_13_EFF) #if MB(RAMPS_13_EFB) || MB(RAMPS_13_EFF) || defined(IS_RAMPS_EFB)
#define FAN_PIN 9 // (Sprinter config) #define FAN_PIN 9 // (Sprinter config)
#if MB(RAMPS_13_EFF) #if MB(RAMPS_13_EFF)
#define CONTROLLERFAN_PIN -1 // Pin used for the fan to cool controller #define CONTROLLERFAN_PIN -1 // Pin used for the fan to cool controller
@ -102,7 +102,7 @@
#define HEATER_0_PIN 10 // EXTRUDER 1 #define HEATER_0_PIN 10 // EXTRUDER 1
#endif #endif
#if MB(RAMPS_13_EFB) || MB(RAMPS_13_SF) #if MB(RAMPS_13_EFB) || MB(RAMPS_13_SF) || defined(IS_RAMPS_EFB)
#define HEATER_1_PIN -1 #define HEATER_1_PIN -1
#else #else
#define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter) #define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter)