Infrared4Arduino 1.2.3
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Rc5Renderer Class Reference

A static class consisting of two functions that generate IrSignal-s from the RC5 protocol parameters. More...

#include <Rc5Renderer.h>

Static Public Member Functions

static const IrSignalnewIrSignal (unsigned int D, unsigned int F, unsigned int T)
 Generates an RC5 signal from the RC5 parameters. More...
 
static const IrSignalnewIrSignal (unsigned int D, unsigned int F)
 Generates an RC5 signal from the RC5 parametes. More...
 

Detailed Description

A static class consisting of two functions that generate IrSignal-s from the RC5 protocol parameters.

The RC5 protocol is given in IRP notation as {36k,msb,889}<1,-1|-1,1>((1:1,~F:1:6,T:1,D:5,F:6,^114m)+,T=1-T)[T@:0..1=0,D:0..31,F:0..127]

Definition at line 9 of file Rc5Renderer.h.

Member Function Documentation

◆ newIrSignal() [1/2]

const IrSignal * Rc5Renderer::newIrSignal ( unsigned int  D,
unsigned int  F 
)
static

Generates an RC5 signal from the RC5 parametes.

This version uses an internal toggle of the class to compute T. Must be deleted explicitly by the user to avoid memory leaks.

Parameters
DRC5 parameter, "device"
FRC5 parameter, "function"
Returns
IrSignal

Definition at line 11 of file Rc5Renderer.cpp.

◆ newIrSignal() [2/2]

const IrSignal * Rc5Renderer::newIrSignal ( unsigned int  D,
unsigned int  F,
unsigned int  T 
)
static

Generates an RC5 signal from the RC5 parameters.

Must be deleted explicitly by the user to avoid memory leaks.

Parameters
DRC5 parameter, "device"
FRC5 parameter, "function"
TRC5 parameter, "toggle"
Returns
IrSignal

Definition at line 18 of file Rc5Renderer.cpp.


The documentation for this class was generated from the following files: