Class CreateTimestampedPwm2DutyCyclePayload
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
Represents an operator that creates a timestamped message payload that sets the duty cycle of PWM2 (%).
public class CreateTimestampedPwm2DutyCyclePayload : CreatePwm2DutyCyclePayload
- Inheritance
-
CreateTimestampedPwm2DutyCyclePayload
- Inherited Members
Methods
GetMessage(double, MessageType)
Creates a timestamped message that sets the duty cycle of PWM2 (%).
public HarpMessage GetMessage(double timestamp, MessageType messageType)
Parameters
timestamp
doubleThe timestamp of the message payload, in seconds.
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new timestamped message for the Pwm2DutyCycle register.