Class CreateLed1MaxCurrentPayload
Represents an operator that creates a message payload that specifies the configuration of current to drive LED 1.
public class CreateLed1MaxCurrentPayload
- Inheritance
-
CreateLed1MaxCurrentPayload
- Derived
- Inherited Members
Properties
Led1MaxCurrent
Gets or sets the value that specifies the configuration of current to drive LED 1.
[Range(5, 100)]
public byte Led1MaxCurrent { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that specifies the configuration of current to drive LED 1.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Led1MaxCurrent register.
GetPayload()
Creates a message payload for the Led1MaxCurrent register.
public byte GetPayload()
Returns
- byte
The created message payload value.