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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.