Click or drag to resize

MUNTS_0018RaspberryPiServoOutputFactory Method

Servo output object factory for the on-board servo outputs at headers J2 and J3.

Namespace: IO.Objects.SimpleIO.Platforms
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public static Output ServoOutputFactory(
	Designator desg,
	int frequency = 50
)

Parameters

desg  Designator
Device designator for one of the on-board PWM outputs (J2PWM or J3PWM).
frequency  Int32  (Optional)
PWM pulse frequency. Ordinary analog servos operate best at 50 Hz.

Return Value

Output
Servo output object.
See Also