Click or drag to resize

Pin Constructor

Constructor for a single GPIO pin.

Namespace: IO.Objects.GPIO.PWM
Assembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax
C#
public Pin(
	Output outp,
	bool state = false,
	double dutycycle = 100
)

Parameters

outp  Output
PWM output instance.
state  Boolean  (Optional)
Initial GPIO output state.
dutycycle  Double  (Optional)
Initial PWM output duty cycle. Allowed values are 0.0 to 100.0 percent.
See Also