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