Table of Contents

Class CreatePwmDutyCycleDO3Payload

Namespace
Harp.Behavior
Assembly
Harp.Behavior.dll

Represents an operator that creates a message payload that specifies the duty cycle of the PWM at DO3.

public class CreatePwmDutyCycleDO3Payload
Inheritance
CreatePwmDutyCycleDO3Payload
Derived
Inherited Members

Properties

PwmDutyCycleDO3

Gets or sets the value that specifies the duty cycle of the PWM at DO3.

[Range(1, 99)]
public byte PwmDutyCycleDO3 { get; set; }

Property Value

byte

Methods

GetMessage(MessageType)

Creates a message that specifies the duty cycle of the PWM at DO3.

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the PwmDutyCycleDO3 register.

GetPayload()

Creates a message payload for the PwmDutyCycleDO3 register.

public byte GetPayload()

Returns

byte

The created message payload value.