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.2025.76.2
Syntaxpublic static Output ServoOutputFactory(
Designator desg,
int frequency = 50,
double position = 0
)
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.
- position Double (Optional)
- Initial servo position.
Return Value
OutputServo output object.
See Also