Table of Contents

Class CreatePwm2ActualDutyCyclePayload

Namespace
Harp.OutputExpander
Assembly
Harp.OutputExpander.dll

Represents an operator that creates a message payload that reports the actual duty cycle to be generated from PWM2 (%).

public class CreatePwm2ActualDutyCyclePayload
Inheritance
CreatePwm2ActualDutyCyclePayload
Derived
Inherited Members

Properties

Pwm2ActualDutyCycle

Gets or sets the value that reports the actual duty cycle to be generated from PWM2 (%).

public float Pwm2ActualDutyCycle { get; set; }

Property Value

float

Methods

GetMessage(MessageType)

Creates a message that reports the actual duty cycle to be generated from PWM2 (%).

public HarpMessage GetMessage(MessageType messageType)

Parameters

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new message for the Pwm2ActualDutyCycle register.

GetPayload()

Creates a message payload for the Pwm2ActualDutyCycle register.

public float GetPayload()

Returns

float

The created message payload value.