C# Class Microsoft.IoT.Devices.Pwm.SoftPwm

A software based PWM.
This class is not designed to be used directly to read data. Instead, once it has been created and configured it can be passed to the GetControllersAsync method of the PwmController class or it can be added to the Providers collection in a PwmProviderManager.
Inheritance: IPwmControllerProvider, IPwmProvider, IDisposable
Exibir arquivo Open project: jbienzms/iot-devices

Private Properties

Property Type Description
IPwmControllerProvider double
IPwmControllerProvider void
IPwmControllerProvider void
IPwmProvider IReadOnlyList
Update void

Public Methods

Method Description
Dispose ( ) : void
SoftPwm ( ) : System

Initializes a new SoftPwm instance.

Private Methods

Method Description
IPwmControllerProvider ( double frequency ) : double
IPwmControllerProvider ( int pin ) : void
IPwmControllerProvider ( int pin, double dutyCycle, bool invertPolarity ) : void
IPwmProvider ( ) : IReadOnlyList
Update ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

SoftPwm() public method

Initializes a new SoftPwm instance.
public SoftPwm ( ) : System
return System