Click or drag to resize

Output Constructor

Constructor for a single PWM output.

Namespace: IO.Objects.SimpleIO.PWM
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public Output(
	Designator desg,
	int frequency,
	double dutycycle = 0,
	int polarity = 1
)

Parameters

desg  Designator
PWM output designator.
frequency  Int32
PWM pulse frequency.
dutycycle  Double  (Optional)
Initial PWM output duty cycle. Allowed values are 0.0 to 100.0 percent.
polarity  Int32  (Optional)
PWM output polarity.
See Also