Pca9685.SetDutyCycleAllChannels(Double) Method

Definition

Sets duty cycles on all channels

public void SetDutyCycleAllChannels (double dutyCycle);
member this.SetDutyCycleAllChannels : double -> unit
Public Sub SetDutyCycleAllChannels (dutyCycle As Double)

Parameters

dutyCycle
Double

Duty cycle value (0.0 - 1.0)

Remarks

Throws InvalidOperationException if any of the channels is created with CreatePwmChannel(Int32)

Applies to