Table of Contents

Class CreateLed0PwmFrequencyPayload

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

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

public class CreateLed0PwmFrequencyPayload
Inheritance
CreateLed0PwmFrequencyPayload
Derived
Inherited Members

Properties

Led0PwmFrequency

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

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

Property Value

float

Methods

GetMessage(MessageType)

Creates a message that sets the frequency (Hz) of LED0 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 Led0PwmFrequency register.

GetPayload()

Creates a message payload for the Led0PwmFrequency register.

public float GetPayload()

Returns

float

The created message payload value.