PWM.DutyCycle Property

Gets or sets the duty cycle of the pulse as a fraction of unity.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public double DutyCycle { get; set; }

Property Value

The duty cycle of the pulse as a fraction of unity.

Remarks

The value of the DutyCycle property should be between 0.0 and 1.0.

See Also

Reference

PWM Class
PWM Members
Microsoft.SPOT.Hardware Namespace