Infrared4Arduino 1.2.3
|
IrSender implementation without modulation, selectively with inverted output. More...
#include <IrSenderNonMod.h>
Public Member Functions | |
IrSenderNonMod (pin_t pin, bool invert=false) | |
void | sendNonModulated (const IrSequence &irSequence, unsigned int times=1U) |
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 |
virtual void | sendSpace (microseconds_t time) |
virtual void | sendMark (microseconds_t time)=0 |
Static Protected Member Functions inherited from IrSender | |
static void | barfForInvalidPin (pin_t sendPin __attribute__((unused))) |
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.
IrSenderNonMod::IrSenderNonMod | ( | pin_t | pin, |
bool | invert = false |
||
) |
Definition at line 20 of file IrSenderNonMod.cpp.
void IrSenderNonMod::sendNonModulated | ( | const IrSequence & | irSequence, |
unsigned int | times = 1U |
||
) |
Sends the IrSequence as argument.
irSequence | |
times | Number of times to send, default 1. |
Definition at line 23 of file IrSenderNonMod.cpp.