From a2457c4d70b12c587592441df219ca0d9b4d5a23 Mon Sep 17 00:00:00 2001 From: Rob Brown Date: Fri, 18 Oct 2013 10:06:07 +0800 Subject: [PATCH] Changed Stepper Pins Changed Stepper Pins so the Step Port Invert Mask matches the UNO --- pin_map.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pin_map.h b/pin_map.h index 2d9cd57..cb7e2ef 100644 --- a/pin_map.h +++ b/pin_map.h @@ -113,19 +113,19 @@ #define STEPPING_DDR DDRA #define STEPPING_PORT PORTA #define STEPPING_PIN PINA - #define X_STEP_BIT 0 // MEGA2560 Digital Pin 22 - #define Y_STEP_BIT 1 // MEGA2560 Digital Pin 23 - #define Z_STEP_BIT 2 // MEGA2560 Digital Pin 24 - #define X_DIRECTION_BIT 4 // MEGA2560 Digital Pin 26 - #define Y_DIRECTION_BIT 5 // MEGA2560 Digital Pin 27 - #define Z_DIRECTION_BIT 6 // MEGA2560 Digital Pin 28 + #define X_STEP_BIT 2 // MEGA2560 Digital Pin 24 + #define Y_STEP_BIT 3 // MEGA2560 Digital Pin 25 + #define Z_STEP_BIT 4 // MEGA2560 Digital Pin 26 + #define X_DIRECTION_BIT 5 // MEGA2560 Digital Pin 27 + #define Y_DIRECTION_BIT 6 // MEGA2560 Digital Pin 28 + #define Z_DIRECTION_BIT 7 // MEGA2560 Digital Pin 29 #define STEP_MASK ((1<