PwmPin.SetActiveDutyCyclePercentage(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 duty cycle percentage for this pin.
public:
virtual void SetActiveDutyCyclePercentage(double dutyCyclePercentage) = SetActiveDutyCyclePercentage;
void SetActiveDutyCyclePercentage(double const& dutyCyclePercentage);
public void SetActiveDutyCyclePercentage(double dutyCyclePercentage);
function setActiveDutyCyclePercentage(dutyCyclePercentage)
Public Sub SetActiveDutyCyclePercentage (dutyCyclePercentage As Double)
Parameters
- dutyCyclePercentage
-
Double
double
The desired duty cycle percentage, represented as a value between 0.0 and 1.0.