Create a remote PWM output.
Namespace: IO.Objects.RemoteIOAssembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax public PWM(
Device dev,
int num,
int freq,
double duty = 0
)
Parameters
- dev Device
- Remote I/O device object.
- num Int32
- PWM output number: 0 to 127.
- freq Int32
- PWM pulse frequency in Hz.
- duty Double (Optional)
- Initial PWM output duty cycle.
Remarks Use Device.PWM_Create() instead of this constructor.
See Also