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