Click or drag to resize

MUNTS_0018RaspberryPiMotorOutputFactory Method

Motor output object factory for the on-board motor outputs at connectors J6 and J7.

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 or J7PWM).
direction  Designator
Device designator for the motor direction GPIO output (J6DIR or J7DIR).
frequency  Int32
PWM pulse frequency.
velocity  Double  (Optional)
Initial motor velocity.

Return Value

Output
Motor output object.
See Also