Class CreateLed1PwmDutyCyclePayload
Represents an operator that creates a message payload that sets the duty cycle (%) of LED1 when in Pwm mode, between 0.1 and 99.9.
public class CreateLed1PwmDutyCyclePayload
- Inheritance
-
CreateLed1PwmDutyCyclePayload
- Derived
- Inherited Members
Properties
Led1PwmDutyCycle
Gets or sets the value that sets the duty cycle (%) of LED1 when in Pwm mode, between 0.1 and 99.9.
[Range(0.1, 99.9)]
public float Led1PwmDutyCycle { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that sets the duty cycle (%) of LED1 when in Pwm mode, between 0.1 and 99.9.
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Led1PwmDutyCycle register.
GetPayload()
Creates a message payload for the Led1PwmDutyCycle register.
public float GetPayload()
Returns
- float
The created message payload value.