Click or drag to resize
PwmStepperMotor Class
Represents a stepper motor connected to a PWM controller.
Inheritance Hierarchy
SystemObject
  Adafruit.IoT.MotorsPwmStepperMotor

Namespace:  Adafruit.IoT.Motors
Assembly:  Adafruit.IoT (in Adafruit.IoT.dll) Version: 1.0.6.0 (1.0.6.0)
Syntax
public sealed class PwmStepperMotor : IMotor, 
	IClosable, IStringable

The PwmStepperMotor type exposes the following members.

Properties
  NameDescription
Public propertyPowerFactor
Gets or sets the power level of this stepper motor.
Public propertyStepAsyncState
The current MotorState.
Top
Methods
  NameDescription
Public methodBrake
Stop the stepper motor but keeps the stepper drivers energized.
Public methodClose
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodOneStep
Steps the motor one step in the direction and style specified.
Public methodRun
Run the motor continuously in the specified direction
Public methodSetSpeed
Set the desired motor's speed in revolutions per minute.
Public methodSetStepStyle
Sets the stepping style for this stepper motor.
Public methodStepAsync
Steps a specified number of steps, direction and stepping style.
Public methodStop
Stop the motor and cut its power.
Public methodToString (Inherited from Object.)
Top
Remarks
This class supports SteppingStyle settings Full, Half, Wave and Microstep8.
See Also