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