Function create_stepper_4pin

Source
pub fn create_stepper_4pin<P1, P2, P3, P4, D>(
    p1: P1,
    p2: P2,
    p3: P3,
    p4: P4,
    delay: D,
    number_of_steps: u32,
) -> Stepper<StepperMotor4<P1, P2, P3, P4>, D>
where P1: OutputPin, P2: OutputPin<Error = P1::Error>, P3: OutputPin<Error = P1::Error>, P4: OutputPin<Error = P1::Error>, D: DelayNs,
Expand description

Factory: build a Stepper4 from four pins and a delay. Build a 4-pin stepper controller.