Scale 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 scale factor for the duration and period.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware.PWM (in Microsoft.SPOT.Hardware.PWM.dll)
Syntax
'Declaration
Public Property Scale As PWM.ScaleFactor
public PWM.ScaleFactor Scale { get; set; }
public:
property PWM::ScaleFactor Scale {
PWM::ScaleFactor get ();
void set (PWM::ScaleFactor value);
}
member Scale : PWM.ScaleFactor with get, set
function get Scale () : PWM..::..ScaleFactor
function set Scale (value : PWM..::..ScaleFactor)
Property Value
Type: Microsoft.SPOT.Hardware. . :: . .PWM. . :: . .ScaleFactor
The scale factor of the duration and period values.
Remarks
Setting the Scale property does not cause an immediate update to the PWM. The update occurs when Duration or Period are set.
.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.