PWM Constructor (Cpu.PWMChannel, Double, Double, Boolean)

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

Initializes a new instance of the PWM class with the specified channel, frequency, duty cycle, and value that indicates whether the output is inverted.

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

Syntax

'Declaration
Public Sub New ( _
    channel As Cpu.PWMChannel, _
    frequency_Hz As Double, _
    dutyCycle As Double, _
    invert As Boolean _
)
public PWM(
    Cpu.PWMChannel channel,
    double frequency_Hz,
    double dutyCycle,
    bool invert
)
public:
PWM(
    Cpu::PWMChannel channel, 
    double frequency_Hz, 
    double dutyCycle, 
    bool invert
)
new : 
        channel:Cpu.PWMChannel * 
        frequency_Hz:float * 
        dutyCycle:float * 
        invert:bool -> PWM
public function PWM(
    channel : Cpu..::..PWMChannel, 
    frequency_Hz : double, 
    dutyCycle : double, 
    invert : boolean
)

Parameters

.NET Framework Security

See Also

Reference

PWM Class

PWM Overload

Microsoft.SPOT.Hardware Namespace