Share via


IPwmControllerProvider.SetDesiredFrequency(Double) Method

Definition

Sets the desired PWM frequency.

public:
 double SetDesiredFrequency(double frequency);
double SetDesiredFrequency(double const& frequency);
public double SetDesiredFrequency(double frequency);
function setDesiredFrequency(frequency)
Public Function SetDesiredFrequency (frequency As Double) As Double

Parameters

frequency
Double

double

The desired frequency in Hz.

Returns

Double

double

The actual PWM frequency after setting to above value. This will be the closest supported match as determined by the provider.

Applies to