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

Driver for the PCA9685 16-Channel 12-bit PWM/Servo driver and others.

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.

This class is adapted from the original C++ ms-iot sample here. And SimulatedProvider code here/>

Inheritance: IPwmControllerProvider, IPwmProvider, IDisposable
Mostra file Open project: jbienzms/iot-devices

Private Properties

Property Type Description
EnsureInitializedAsync System.Threading.Tasks.Task
IPwmControllerProvider double
IPwmControllerProvider void
IPwmControllerProvider void
IPwmProvider IReadOnlyList
InitializeControllerAsync System.Threading.Tasks.Task
ResetController void
RestartControllerAsync System.Threading.Tasks.Task
SleepControllerAsync Task

Public Methods

Method Description
Dispose ( ) : void

Private Methods

Method Description
EnsureInitializedAsync ( ) : System.Threading.Tasks.Task
IPwmControllerProvider ( double frequency ) : double
IPwmControllerProvider ( int pin ) : void
IPwmControllerProvider ( int pin, double dutyCycle, bool invertPolarity ) : void
IPwmProvider ( ) : IReadOnlyList
InitializeControllerAsync ( ) : System.Threading.Tasks.Task
ResetController ( ) : void
RestartControllerAsync ( byte mode1 ) : System.Threading.Tasks.Task
SleepControllerAsync ( ) : Task

Method Details

Dispose() public method

public Dispose ( ) : void
return void