Table of Contents

Class CreateServoMotor2PulsePayload

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

Represents an operator that creates a message payload that specifies the pulse of the servo motor in DO2, in microseconds.

public class CreateServoMotor2PulsePayload
Inheritance
CreateServoMotor2PulsePayload
Derived
Inherited Members

Properties

ServoMotor2Pulse

Gets or sets the value that specifies the pulse of the servo motor in DO2, in microseconds.

[Range(6, 65530)]
public ushort ServoMotor2Pulse { get; set; }

Property Value

ushort

Methods

GetMessage(MessageType)

Creates a message that specifies the pulse of the servo motor in DO2, in microseconds.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the ServoMotor2Pulse register.

GetPayload()

Creates a message payload for the ServoMotor2Pulse register.

public ushort GetPayload()

Returns

ushort

The created message payload value.