Class CreatePwm0ActualDutyCyclePayload
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
Represents an operator that creates a message payload that reports the actual duty cycle to be generated from PWM0 (%).
public class CreatePwm0ActualDutyCyclePayload
- Inheritance
-
CreatePwm0ActualDutyCyclePayload
- Derived
- Inherited Members
Properties
Pwm0ActualDutyCycle
Gets or sets the value that reports the actual duty cycle to be generated from PWM0 (%).
public float Pwm0ActualDutyCycle { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that reports the actual duty cycle to be generated from PWM0 (%).
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Pwm0ActualDutyCycle register.
GetPayload()
Creates a message payload for the Pwm0ActualDutyCycle register.
public float GetPayload()
Returns
- float
The created message payload value.