 | 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)
Syntaxpublic IAsyncAction StepAsync(
int steps,
Direction direction,
SteppingStyle stepStyle
)
Public Function StepAsync (
steps As Integer,
direction As Direction,
stepStyle As SteppingStyle
) As IAsyncAction
public:
virtual IAsyncAction^ StepAsync(
[InAttribute] int steps,
[InAttribute] Direction direction,
[InAttribute] SteppingStyle stepStyle
) sealed
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