Constructor for a single PCA9685 device.
Namespace: IO.Devices.PCA9685Assembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax public Device(
Bus bus,
int addr,
int freq = 50,
int clock = 0
)
Parameters
- bus Bus
- I2C bus controller object.
- addr Int32
- I2C slave address.
- freq Int32 (Optional)
- PWM pulse frequency. Default is 50 Hz.
- clock Int32 (Optional)
- PCA9685 clock source.
Use INTERNAL_CLOCKc> to select the internal 25 MHz clock generator.
See Also