Infrared4Arduino 1.2.3
|
Simulates sending in the sense that it prints the IrSequences on the Stream given as argument. More...
#include <IrSenderSimulator.h>
Public Member Functions | |
IrSenderSimulator (Stream &stream_) | |
IrSenderSimulator (const IrSenderSimulator &orig) | |
virtual | ~IrSenderSimulator () |
void | send (const IrSequence &irSequence, frequency_t frequency=IrSignal::defaultFrequency, dutycycle_t dutyCycle=Board::defaultDutyCycle) |
Sends an IrSequence with the prescribed frequency. More... | |
void | enable (frequency_t, dutycycle_t d __attribute__((unused))=Board::defaultDutyCycle) |
void | sendSpace (microseconds_t) |
void | sendMark (microseconds_t) |
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))) |
Simulates sending in the sense that it prints the IrSequences on the Stream given as argument.
Intended as debugging and development tool.
Definition at line 9 of file IrSenderSimulator.h.
|
inline |
Definition at line 14 of file IrSenderSimulator.h.
|
inline |
Definition at line 15 of file IrSenderSimulator.h.
|
inlinevirtual |
Definition at line 16 of file IrSenderSimulator.h.
|
inline |
Definition at line 18 of file IrSenderSimulator.h.
|
virtual |
Sends an IrSequence with the prescribed frequency.
irSequence | |
frequency | frequency in Hz |
dutyCycle |
Reimplemented from IrSender.
Definition at line 3 of file IrSenderSimulator.cpp.
|
inlinevirtual |
Implements IrSender.
Definition at line 20 of file IrSenderSimulator.h.
|
inlinevirtual |
Reimplemented from IrSender.
Definition at line 19 of file IrSenderSimulator.h.