Table of Contents

Class CreatePwm1FrequencyPayload

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

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

public class CreatePwm1FrequencyPayload
Inheritance
CreatePwm1FrequencyPayload
Derived
Inherited Members

Properties

Pwm1Frequency

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

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

Property Value

float

Methods

GetMessage(MessageType)

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

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Pwm1Frequency register.

GetPayload()

Creates a message payload for the Pwm1Frequency register.

public float GetPayload()

Returns

float

The created message payload value.