Click or drag to resize

Output(Output, Output, Double) Constructor

Constructor for a single motor, using two PWM outputs for clockwise and counterclockwise rotation control.

Namespace: IO.Objects.Motor.PWM
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public Output(
	Output clockwise,
	Output counterclockwise,
	double velocity = 0
)

Parameters

clockwise  Output
PWM output instance (for clockwise rotation control).
counterclockwise  Output
PWM output instance (for counterclockwise rotation control).
velocity  Double  (Optional)
Initial motor velocity.
See Also