Click or drag to resize

DeviceMove Method

Move the stepper motor a specified number of steps at a specified rate.

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

Parameters

steps  Int32
Number of steps to move. 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.
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

OutputMove(Int32, Single)
Remarks
This implementation supports a maximum rate of 500 steps per second.
See Also