Table of Contents

Class CreatePwm0FrequencyPayload

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

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

public class CreatePwm0FrequencyPayload
Inheritance
CreatePwm0FrequencyPayload
Derived
Inherited Members

Properties

Pwm0Frequency

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

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

Property Value

float

Methods

GetMessage(MessageType)

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

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Pwm0Frequency register.

GetPayload()

Creates a message payload for the Pwm0Frequency register.

public float GetPayload()

Returns

float

The created message payload value.