Table of Contents

Class CreateLed0MaxCurrentPayload

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

Represents an operator that creates a message payload that specifies the configuration of current to drive LED 0.

public class CreateLed0MaxCurrentPayload
Inheritance
CreateLed0MaxCurrentPayload
Derived
Inherited Members

Properties

Led0MaxCurrent

Gets or sets the value that specifies the configuration of current to drive LED 0.

[Range(5, 100)]
public byte Led0MaxCurrent { get; set; }

Property Value

byte

Methods

GetMessage(MessageType)

Creates a message that specifies the configuration of current to drive LED 0.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Led0MaxCurrent register.

GetPayload()

Creates a message payload for the Led0MaxCurrent register.

public byte GetPayload()

Returns

byte

The created message payload value.