diff --git a/config.h b/config.h index c0f9ad6..72aad6f 100755 --- a/config.h +++ b/config.h @@ -27,6 +27,7 @@ #define BAUD_RATE 9600 // Define pin-assignments +// NOTE: All step bit and direction pins must be on the same port. #define STEPPING_DDR DDRD #define STEPPING_PORT PORTD #define X_STEP_BIT 2 // Uno Digital Pin 2 @@ -44,6 +45,7 @@ #define STEPPERS_DISABLE_BIT 0 // Uno Digital Pin 8 #define STEPPERS_DISABLE_MASK (1< -// Some useful constants -#define TICKS_PER_MICROSECOND (F_CPU/1000000) -#define CYCLES_PER_ACCELERATION_TICK ((TICKS_PER_MICROSECOND*1000000)/ACCELERATION_TICKS_PER_SECOND) - // Initialize and setup the stepper motor subsystem void st_init();