Table of Contents

Class CreateLed1PwmFrequencyPayload

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

Represents an operator that creates a message payload that sets the frequency (Hz) of LED1 when in Pwm mode, between 0.5 and 2000.

public class CreateLed1PwmFrequencyPayload
Inheritance
CreateLed1PwmFrequencyPayload
Derived
Inherited Members

Properties

Led1PwmFrequency

Gets or sets the value that sets the frequency (Hz) of LED1 when in Pwm mode, between 0.5 and 2000.

[Range(0.5, 2000)]
public float Led1PwmFrequency { get; set; }

Property Value

float

Methods

GetMessage(MessageType)

Creates a message that sets the frequency (Hz) of LED1 when in Pwm mode, between 0.5 and 2000.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Led1PwmFrequency register.

GetPayload()

Creates a message payload for the Led1PwmFrequency register.

public float GetPayload()

Returns

float

The created message payload value.