Table of Contents

Class CreateLed0PwmDutyCyclePayload

Namespace
Harp.LedArray
Assembly
Harp.LedArray.dll

Represents an operator that creates a message payload that sets the duty cycle (%) of LED0 when in Pwm mode, between 0.1 and 99.9.

public class CreateLed0PwmDutyCyclePayload
Inheritance
CreateLed0PwmDutyCyclePayload
Derived
Inherited Members

Properties

Led0PwmDutyCycle

Gets or sets the value that sets the duty cycle (%) of LED0 when in Pwm mode, between 0.1 and 99.9.

[Range(0.1, 99.9)]
public float Led0PwmDutyCycle { get; set; }

Property Value

float

Methods

GetMessage(MessageType)

Creates a message that sets the duty cycle (%) of LED0 when in Pwm mode, between 0.1 and 99.9.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Led0PwmDutyCycle register.

GetPayload()

Creates a message payload for the Led0PwmDutyCycle register.

public float GetPayload()

Returns

float

The created message payload value.