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