Duration 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 duration of the pulse. Value should be a fraction of the period.

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

Syntax

'Declaration
Public Property Duration As UInteger
public uint Duration { get; set; }
public:
property unsigned int Duration {
    unsigned int get ();
    void set (unsigned int value);
}
member Duration : uint32 with get, set
function get Duration () : uint
function set Duration (value : uint)

Property Value

Type: System. . :: . .UInt32
The duration of the pulse.

Remarks

The value of the Duration property should be a fraction of the Period property.

.NET Framework Security

See Also

Reference

PWM Class

Microsoft.SPOT.Hardware Namespace