Table of Contents

Class EncoderData

Namespace
nanoFramework.Hardware.Esp32.Rmt
Assembly
nanoFramework.Hardware.Esp32.Rmt.dll

Data to send to an encoder.

public class EncoderData
Inheritance
EncoderData
Inherited Members
Extension Methods

Constructors

EncoderData(byte[], int)

Construct EncoderData object with data and loop parameters.

public EncoderData(byte[] data, int loop = 1)

Parameters

data byte[]

Data to pass to encoder

loop int

Number times to loop data on output, default = 1

Properties

Data

The data to provide to encoder. Default is null, no data provided. ByteEncoder - Byte data to be encoded to output using ByteEncoder settings. CopyEncoder - RmtSymbols as a byte array. If null the RmtSymbols in CopyEncoderSettings will be used.

public byte[] Data { get; set; }

Property Value

byte[]

Loop

Get or Set the Loop value. Number of loops to repeat outputting data via encoder. Default is 1 loop. This is good for repeating a pattern without having to load the repeated pattern into the data.

public int Loop { get; set; }

Property Value

int