|
|
@ -27,7 +27,7 @@ const float STEPS_PER_OUT_REV = STEPS_PER_REV * GEAR_RED; |
|
|
|
|
|
|
|
// Number of Steps Required
|
|
|
|
|
|
|
|
const int stepper_motor_speed = 700; |
|
|
|
const int stepper_motor_speed = 600; |
|
|
|
int pos = 1; |
|
|
|
const int StepsRequired = STEPS_PER_OUT_REV / 4; |
|
|
|
// Create Instance of Stepper Class
|
|
|
@ -36,7 +36,7 @@ const int StepsRequired = STEPS_PER_OUT_REV / 4; |
|
|
|
// Connected to ULN2003 Motor Driver In1, In2, In3, In4
|
|
|
|
// Pins entered in sequence 1-3-2-4 for proper step sequencing
|
|
|
|
|
|
|
|
Stepper steppermotor(STEPS_PER_REV, 6, 10, 11, 13); |
|
|
|
Stepper steppermotor(STEPS_PER_REV, 6, 8, 12, 13); |
|
|
|
|
|
|
|
void setup() |
|
|
|
{ |