Click or drag to resize
PwmStepperMotorStepAsync Method
Steps a specified number of steps, direction and stepping style.

Namespace:  Adafruit.IoT.Motors
Assembly:  Adafruit.IoT (in Adafruit.IoT.dll) Version: 1.0.6.0 (1.0.6.0)
Syntax
public IAsyncAction StepAsync(
	int steps,
	Direction direction,
	SteppingStyle stepStyle
)

Parameters

steps
Type: SystemInt32
The number of steps to process.
direction
Type: Adafruit.IoT.MotorsDirection
A Direction.
stepStyle
Type: Adafruit.IoT.MotorsSteppingStyle
A SteppingStyle.

Return Value

Type: IAsyncAction
Remarks
StepAsync cannot be called if the motor is already running.
See Also