Click or drag to resize

PWM Constructor

Create a remote PWM output.

Namespace: IO.Objects.RemoteIO
Assembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax
C#
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