Click or drag to resize

Pin Constructor

Constructor for a single GPIO output pin.

Namespace: IO.Devices.PCA9685.GPIO
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax
C#
public Pin(
	Device dev,
	int channel,
	bool state = false
)

Parameters

dev  Device
PCA9685 device object.
channel  Int32
Output channel number.
state  Boolean  (Optional)
Initial GPIO output state.
See Also