Table of Contents

Class CreatePwm2FrequencyPayload

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

Represents an operator that creates a message payload that sets the frequency of PWM2 (Hz).

public class CreatePwm2FrequencyPayload
Inheritance
CreatePwm2FrequencyPayload
Derived
Inherited Members

Properties

Pwm2Frequency

Gets or sets the value that sets the frequency of PWM2 (Hz).

[Range(0.5, 1000)]
public float Pwm2Frequency { get; set; }

Property Value

float

Methods

GetMessage(MessageType)

Creates a message that sets the frequency of PWM2 (Hz).

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Pwm2Frequency register.

GetPayload()

Creates a message payload for the Pwm2Frequency register.

public float GetPayload()

Returns

float

The created message payload value.