Infrared4Arduino  1.1.0
Public Member Functions | List of all members
IrSenderNonMod Class Reference

IrSender implementation without modulation, selectively with inverted output. More...

#include <IrSenderNonMod.h>

Inheritance diagram for IrSenderNonMod:
Inheritance graph
[legend]
Collaboration diagram for IrSenderNonMod:
Collaboration graph
[legend]

Public Member Functions

 IrSenderNonMod (pin_t pin, bool invert=false)
 
void sendNonModulated (const IrSequence &irSequence)
 Sends the IrSequence as argument. More...
 
- Public Member Functions inherited from IrSender
pin_t getPin () const
 
virtual ~IrSender ()
 
virtual void send (const IrSequence &irSequence, frequency_t frequency=IrSignal::defaultFrequency, dutycycle_t dutyCycle=Board::defaultDutyCycle)
 Sends an IrSequence with the prescribed frequency. More...
 
void sendIrSignal (const IrSignal &irSignal, unsigned int noSends=1)
 Sends the IrSignal given as argument the prescribed number of times. More...
 
void sendWhile (const IrSignal &irSignal, bool(*trigger)())
 Send an IrSignal, when and as long as trigger() returns true. More...
 
void mute ()
 Force output pin inactive. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IrSender
void writeHigh ()
 
void writeLow ()
 
 IrSender (pin_t pin)
 
virtual void enable (frequency_t frequency, dutycycle_t dutyCycle=Board::defaultDutyCycle)=0
 
- Static Protected Member Functions inherited from IrSender
static void barfForInvalidPin (pin_t sendPin __attribute__((unused)))
 

Detailed Description

IrSender implementation without modulation, selectively with inverted output.

Usage is, for example, controlling an RF transmitter (non-inverting), or for emulating an IR receiver with active low output (inverting).

Definition at line 29 of file IrSenderNonMod.h.

Constructor & Destructor Documentation

◆ IrSenderNonMod()

IrSenderNonMod::IrSenderNonMod ( pin_t  pin,
bool  invert = false 
)

Definition at line 20 of file IrSenderNonMod.cpp.

Member Function Documentation

◆ sendNonModulated()

void IrSenderNonMod::sendNonModulated ( const IrSequence irSequence)
inline

Sends the IrSequence as argument.

Parameters
irSequence

Definition at line 43 of file IrSenderNonMod.h.


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