Table of Contents

Class ConfigurePwm

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

Represents an operator that generates a sequence of Harp messages to configure the PWM feature.

public class ConfigurePwm : Source<HarpMessage>
Inheritance
ConfigurePwm
Inherited Members

Properties

DutyCycle

Gets or sets the duty cycle of the PWM. The maximum value is 100%.

EventConfig

Gets or sets a value specifying whether generation of events for the PWM is enabled.

Frequency

Gets or sets the frequency of the PWM. The maximum frequency is 1000Hz.

PulseCount

Gets or sets the number of pulses to trigger on the specified PWM. If the default value of zero is specified, the PWM will be infinite.

PwmChannels

Gets or sets the PWM protocol channels to configure.

TriggerSource

Gets or sets the trigger source of the PWM.

Methods

Generate()

Generates an observable sequence of Harp messages to configure the PWM feature.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of Harp messages to configure the PWM feature whenever the source sequence emits a notification.