Struct StepRelativePayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents the payload of the StepRelative register.
public struct StepRelativePayload
- Inherited Members
Constructors
StepRelativePayload(int, int, int, int)
Initializes a new instance of the StepRelativePayload structure.
public StepRelativePayload(int motor0, int motor1, int motor2, int motor3)
Parameters
motor0
intStarts the movement of motor 0 with the step interval defined by this register. The value's signal defines the direction.
motor1
intStarts the movement of motor 1 with the step interval defined by this register. The value's signal defines the direction.
motor2
intStarts the movement of motor 2 with the step interval defined by this register. The value's signal defines the direction.
motor3
intStarts the movement of motor 3 with the step interval defined by this register. The value's signal defines the direction.
Fields
Motor0
Starts the movement of motor 0 with the step interval defined by this register. The value's signal defines the direction.
public int Motor0
Field Value
Motor1
Starts the movement of motor 1 with the step interval defined by this register. The value's signal defines the direction.
public int Motor1
Field Value
Motor2
Starts the movement of motor 2 with the step interval defined by this register. The value's signal defines the direction.
public int Motor2
Field Value
Motor3
Starts the movement of motor 3 with the step interval defined by this register. The value's signal defines the direction.
public int Motor3