Using <stepper.h>

I would like to use <stepper.h> for a two-pin (Step & Dir) driver.

When creating the new instance of the motor, which pin is which?

arduino-1.0/reference/StepperConstructor.html merely states:

pin1, pin2: two pins that are attached to the motor (int)

I have been using a four-wire connection to an entirely different driver-board

Stepper myStepperX(stepsPerRevolution, 2, 3, 4, 5);

with some success for small, low-power motors but want to 'move up' to a more powerful motor-driver.

Thanks,

Geoff

The stepper library doesn't do Step and Direction. For that you can just set the Direction pin and pulse the Step pin.

The stepper library will use two pins thus:
LOW, HIGH
HIGH, HIGH
HIGH, LOW
LOW, LOW
cycling forward or backward through the list.

Thanks, John, that has saved me some hassle. I'll go over to <accelStepper.h> and expend my energy learning that one.

Geoff