Skip to main content

GHIElectronics.TinyCLR.Devices.Pwm

NuGet package containing 5 types across 2 namespaces (GHIElectronics.TinyCLR.Devices.Pwm, GHIElectronics.TinyCLR.Devices.Pwm.Provider).

Classes

ClassNamespaceSummary
PwmChannelGHIElectronics.TinyCLR.Devices.PwmA single PWM channel opened from a PwmController. Configure Polarity and duty cycle, then call Start to begin driving the output.
PwmControllerGHIElectronics.TinyCLR.Devices.PwmRepresents a PWM peripheral. Set the frequency via SetDesiredFrequency(double), open one or more channels with OpenChannel(int), then drive each channel's duty cycle.
PwmControllerApiWrapperGHIElectronics.TinyCLR.Devices.Pwm.ProviderConcrete IPwmControllerProvider backed by the native TinyCLR PWM HAL. Constructed internally by PwmController; you don't normally need to use this type directly.

Interfaces

InterfaceNamespaceSummary
IPwmControllerProviderGHIElectronics.TinyCLR.Devices.Pwm.ProviderProvider contract for a PWM controller. Most users call PwmController / PwmChannel directly; implement this interface only when supplying a custom or virtual PWM.

Enums

EnumNamespaceSummary
PwmPulsePolarityGHIElectronics.TinyCLR.Devices.PwmDefines which level represents the "active" portion of the PWM pulse.