PwmController.SetDesiredFrequency(Double) Method
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.
Sets the PWM frequency.
public:
virtual double SetDesiredFrequency(double desiredFrequency) = SetDesiredFrequency;
double SetDesiredFrequency(double const& desiredFrequency);
public double SetDesiredFrequency(double desiredFrequency);
function setDesiredFrequency(desiredFrequency)
Public Function SetDesiredFrequency (desiredFrequency As Double) As Double
Parameters
- desiredFrequency
-
Double
double
Then value of the desired frequency in Hz.
Returns
Double
double
The actual frequency that was set. This will be the closest supported match as determined by the provider.