Share via


PwmPin.Polarity Property

Definition

Gets or sets the polarity of the pin.

public:
 property PwmPulsePolarity Polarity { PwmPulsePolarity get(); void set(PwmPulsePolarity value); };
PwmPulsePolarity Polarity();

void Polarity(PwmPulsePolarity value);
public PwmPulsePolarity Polarity { get; set; }
var pwmPulsePolarity = pwmPin.polarity;
pwmPin.polarity = pwmPulsePolarity;
Public Property Polarity As PwmPulsePolarity

Property Value

The pin polarity.

Applies to