IPwmControllerProvider.SetPulseParameters(Int32, Double, Boolean) 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 parameters for pin, duty cycle, and polarity.
public:
void SetPulseParameters(int pin, double dutyCycle, bool invertPolarity);
void SetPulseParameters(int const& pin, double const& dutyCycle, bool const& invertPolarity);
public void SetPulseParameters(int pin, double dutyCycle, bool invertPolarity);
function setPulseParameters(pin, dutyCycle, invertPolarity)
Public Sub SetPulseParameters (pin As Integer, dutyCycle As Double, invertPolarity As Boolean)
Parameters
- pin
-
Int32
int
Indicates which pin these values apply to.
- dutyCycle
-
Double
double
The duty cycle percentage, with value between 0 and 100 inclusive.
- invertPolarity
-
Boolean
bool
True if polarity of pin should be inverted, otherwise false.