Constructor for a single GPIO output pin.
Namespace: IO.Devices.PCA9685.GPIOAssembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax 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