MUNTS_0018RaspberryPiServoOutputFactory Method |
Servo output object factory for the on-board servo outputs
at headers J2 and J3.
Namespace: IO.Objects.SimpleIO.PlatformsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax 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
OutputServo output object.
See Also