Click or drag to resize

DeviceSpin Method

Spin (i.e. continuous rotation) the stepper moter at a specified rate.

Namespace: IO.Devices.A4988
Assembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax
C#
public void Spin(
	float rate
)

Parameters

rate  Single
The rate of motion, in steps per second. Negative values indicate reverse motion and positive values indicate forward motion. (The directions are nominal and depend on how the stepper motor coils are wired). Zero indicates the stepper motor should be stopped.

Implements

OutputSpin(Single)
Remarks
The A4988 stepper motor driver does not support continuous rotation and this method will always throw an exception.
See Also