Pca9685(I2cDevice, Double, Double, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs Pca9685 instance
public Pca9685 (System.Device.I2c.I2cDevice i2cDevice, double pwmFrequency = -1, double dutyCycleAllChannels = -1, bool usingExternalClock = false);
new Iot.Device.Pwm.Pca9685 : System.Device.I2c.I2cDevice * double * double * bool -> Iot.Device.Pwm.Pca9685
Public Sub New (i2cDevice As I2cDevice, Optional pwmFrequency As Double = -1, Optional dutyCycleAllChannels As Double = -1, Optional usingExternalClock As Boolean = false)
Parameters
- i2cDevice
- I2cDevice
The I2C device to be used
- pwmFrequency
- Double
Initial PWM frequency on all channels
- dutyCycleAllChannels
- Double
Duty cycle set on all channels after constructing
- usingExternalClock
- Boolean
When true specifies that external clock is used. Use ClockFrequency to set frequency of an external clock
Remarks
Default value for pwmFrequency
and dutyCycleAllChannels
is -1 which means to not change value already set on the device.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for