Class CreateRgbAllPayload
Represents an operator that creates a message payload that specifies the state of all RGB LED channels.
public class CreateRgbAllPayload
- Inheritance
-
CreateRgbAllPayload
- Derived
- Inherited Members
Properties
Blue0
Gets or sets a value that the intensity of the blue channel in the RGB0 LED.
public byte Blue0 { get; set; }
Property Value
Blue1
Gets or sets a value that the intensity of the blue channel in the RGB1 LED.
public byte Blue1 { get; set; }
Property Value
Green0
Gets or sets a value that the intensity of the green channel in the RGB0 LED.
public byte Green0 { get; set; }
Property Value
Green1
Gets or sets a value that the intensity of the green channel in the RGB1 LED.
public byte Green1 { get; set; }
Property Value
Red0
Gets or sets a value that the intensity of the red channel in the RGB0 LED.
public byte Red0 { get; set; }
Property Value
Red1
Gets or sets a value that the intensity of the red channel in the RGB1 LED.
public byte Red1 { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that specifies the state of all RGB LED channels.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the RgbAll register.
GetPayload()
Creates a message payload for the RgbAll register.
public RgbAllPayload GetPayload()
Returns
- RgbAllPayload
The created message payload value.