 | PwmStepperMotorOneStep Method |
Steps the motor one step in the direction and style specified.
Namespace:
Adafruit.IoT.Motors
Assembly:
Adafruit.IoT (in Adafruit.IoT.dll) Version: 1.0.6.0 (1.0.6.0)
Syntaxpublic int OneStep(
Direction direction,
SteppingStyle stepStyle
)
Public Function OneStep (
direction As Direction,
stepStyle As SteppingStyle
) As Integer
public:
virtual int OneStep(
[InAttribute] Direction direction,
[InAttribute] SteppingStyle stepStyle
) sealed
Parameters
- direction
- Type: Adafruit.IoT.MotorsDirection
A Direction. - stepStyle
- Type: Adafruit.IoT.MotorsSteppingStyle
A SteppingStyle.
Return Value
Type:
Int32The current step number.
Remarks
.
See Also