#ifndef config_default_2560_h #define config_default_2560_h // Define pin-assignments // NOTE: All step bit and direction pins must be on the same port. #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 2 // MEGA2560 Digital Pin 24 #define Z_STEP_BIT 4 // MEGA2560 Digital Pin 26 #define C_STEP_BIT 6 // MEGA2560 Digital Pin 28 #define X_DIRECTION_BIT 1 // MEGA2560 Digital Pin 23 #define Y_DIRECTION_BIT 3 // MEGA2560 Digital Pin 25 #define Z_DIRECTION_BIT 5 // MEGA2560 Digital Pin 27 #define C_DIRECTION_BIT 7 // MEGA2560 Digital Pin 29 #define STEP_MASK ((1<