Class CreateServo1PulseWidthPayload
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
Represents an operator that creates a message payload that sets the pulse width of the Servo1 pulses (us).
public class CreateServo1PulseWidthPayload
- Inheritance
-
CreateServo1PulseWidthPayload
- Derived
- Inherited Members
Properties
Servo1PulseWidth
Gets or sets the value that sets the pulse width of the Servo1 pulses (us).
public ushort Servo1PulseWidth { get; set; }
Property Value
Methods
GetMessage(MessageType)
Creates a message that sets the pulse width of the Servo1 pulses (us).
public HarpMessage GetMessage(MessageType messageType)
Parameters
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new message for the Servo1PulseWidth register.
GetPayload()
Creates a message payload for the Servo1PulseWidth register.
public ushort GetPayload()
Returns
- ushort
The created message payload value.