diff options
author | kliment <kliment.yanev@gmail.com> | 2011-07-04 21:45:18 -0700 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2011-07-04 21:45:18 -0700 |
commit | 53c0ec08ac97f9a3a38d69d96f3d3696558167a6 (patch) | |
tree | 02fd40000789dd1816d4fc013d4f7484d2ebfc1c /Sprinter | |
parent | 873e85b3bb5240eaaba6491c38284e2d6d3fba2e (diff) | |
parent | 9913638a7bca419aac5e41cad22140ea195c5cd1 (diff) |
Merge pull request #46 from mosfet/master
Fixed Sanguinololu pins for Enable stuff
Diffstat (limited to 'Sprinter')
-rw-r--r-- | Sprinter/pins.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/Sprinter/pins.h b/Sprinter/pins.h index eee78e8..0b44e9d 100644 --- a/Sprinter/pins.h +++ b/Sprinter/pins.h @@ -416,50 +416,52 @@ #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu. #endif -// uncomment the following line for Sanguinololu v1.2, comment for 1.1 or earlier. -// #define SANGUINOLOLU_V_1_2 +// comment the following line for Sanguinololu v1.1 or earlier. +#define SANGUINOLOLU_V_1_2 #define X_STEP_PIN 15 #define X_DIR_PIN 21 -#define X_ENABLE_PIN -1 #define X_MIN_PIN 18 -#define X_MAX_PIN -2 //2 +#define X_MAX_PIN -2 #define Y_STEP_PIN 22 #define Y_DIR_PIN 23 -#define Y_ENABLE_PIN -1 #define Y_MIN_PIN 19 -#define Y_MAX_PIN -1 //17 +#define Y_MAX_PIN -1 #define Z_STEP_PIN 3 #define Z_DIR_PIN 2 -// zenable defined by platform below #define Z_MIN_PIN 20 -#define Z_MAX_PIN -1 //19 +#define Z_MAX_PIN -1 #define E_STEP_PIN 1 #define E_DIR_PIN 0 -#define E_ENABLE_PIN -1 #define LED_PIN -1 -#define FAN_PIN -1 // THIS LINE FOR V1.0 +#define FAN_PIN -1 #define PS_ON_PIN -1 #define KILL_PIN -1 -#define HEATER_0_PIN 13 // THIS LINE FOR V1.0+ (extruder) +#define HEATER_0_PIN 13 // (extruder) #ifdef SANGUINOLOLU_V_1_2 #define HEATER_1_PIN 12 // (bed) +#define X_ENABLE_PIN 14 +#define Y_ENABLE_PIN 14 #define Z_ENABLE_PIN 26 +#define E_ENABLE_PIN 14 #else #define HEATER_1_PIN 14 // (bed) +#define X_ENABLE_PIN -1 +#define Y_ENABLE_PIN -1 #define Z_ENABLE_PIN -1 +#define E_ENABLE_PIN -1 #endif |