Click or drag to resize

Device Class

Encapsulates the A4988 Stepper Motor Controller.
Inheritance Hierarchy
SystemObject
  IO.Devices.A4988Device

Namespace: IO.Devices.A4988
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.356.1
Syntax
C#
public class Device : Output

The Device type exposes the following members.

Constructors
 NameDescription
Public methodDevice Constructor for a single A4988 device.
Top
Properties
 NameDescription
Public propertyStepsPerRotation Read-only property returning the number of steps a stepper motor has.
Top
Methods
 NameDescription
Public methodDisable Disable the A4988 device.
Public methodEnable Enable the A4988 device.
Public methodMove Move the stepper motor a specified number of steps at a specified rate.
Public methodReset Reset the A4988 device.
Public methodSleep Put the A4988 device to sleep.
Public methodSpin Spin (i.e. continuous rotation) the stepper moter at a specified rate.
Public methodWakeup Wake up the A4988 device.
Top
See Also