DutyCycle Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware.PWM (in Microsoft.SPOT.Hardware.PWM.dll)

Syntax

'Declaration
Public Property DutyCycle As Double
public double DutyCycle { get; set; }
public:
property double DutyCycle {
    double get ();
    void set (double value);
}
member DutyCycle : float with get, set
function get DutyCycle () : double
function set DutyCycle (value : double)

Property Value

Type: System. . :: . .Double
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.

.NET Framework Security

See Also

Reference

PWM Class

Microsoft.SPOT.Hardware Namespace