Click or drag to resize

MUNTS_0018OrangePiZero2WMotorOutputFactory Method

Motor output object factory for the on-board motor output at connector J6.

Namespace: IO.Objects.SimpleIO.Platforms
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public static Output MotorOutputFactory(
	Designator speed,
	Designator direction,
	int frequency,
	double velocity = 0
)

Parameters

speed  Designator
Device designator for the motor speed PWM output (J6PWM).
direction  Designator
Device designator for the motor direction GPIO output (J6DIR).
frequency  Int32
PWM pulse frequency.
velocity  Double  (Optional)
Initial motor velocity.

Return Value

Output
Motor output object.
See Also