GHIElectronics.TinyCLR.Devices.Pwm
NuGet package containing 5 types across 2 namespaces (GHIElectronics.TinyCLR.Devices.Pwm, GHIElectronics.TinyCLR.Devices.Pwm.Provider).
Classes
| Class | Namespace | Summary |
|---|---|---|
| PwmChannel | GHIElectronics.TinyCLR.Devices.Pwm | A single PWM channel opened from a PwmController. Configure Polarity and duty cycle, then call Start to begin driving the output. |
| PwmController | GHIElectronics.TinyCLR.Devices.Pwm | Represents a PWM peripheral. Set the frequency via SetDesiredFrequency(double), open one or more channels with OpenChannel(int), then drive each channel's duty cycle. |
| PwmControllerApiWrapper | GHIElectronics.TinyCLR.Devices.Pwm.Provider | Concrete IPwmControllerProvider backed by the native TinyCLR PWM HAL. Constructed internally by PwmController; you don't normally need to use this type directly. |
Interfaces
| Interface | Namespace | Summary |
|---|---|---|
| IPwmControllerProvider | GHIElectronics.TinyCLR.Devices.Pwm.Provider | Provider contract for a PWM controller. Most users call PwmController / PwmChannel directly; implement this interface only when supplying a custom or virtual PWM. |
Enums
| Enum | Namespace | Summary |
|---|---|---|
| PwmPulsePolarity | GHIElectronics.TinyCLR.Devices.Pwm | Defines which level represents the "active" portion of the PWM pulse. |