|
IRremote
|
Main class for receiving IR. More...
#include <IRremote.h>
Public Member Functions | |
| IRrecv (int recvpin) | |
| Instantiate the IRrecv class. More... | |
| IRrecv (int recvpin, int blinkpin) | |
| Instantiate the IRrecv class. More... | |
| void | blink13 (int blinkflag) |
| TODO: Why is this public??? More... | |
| int | decode (decode_results *results) |
| Attempt to decode the recently receive IR signal. More... | |
| void | enableIRIn () |
| Enable IR reception. More... | |
| void | disableIRIn () |
| Disable IR reception. More... | |
| bool | isIdle () |
| Returns status of reception. More... | |
| void | resume () |
| Called to re-enable IR reception. More... | |
Main class for receiving IR.
Definition at line 193 of file IRremote.h.
| IRrecv::IRrecv | ( | int | recvpin | ) |
Instantiate the IRrecv class.
Multiple instantiation is not supported.
| recvpin | Arduino pin to use. No sanity check is made. |
Definition at line 144 of file irRecv.cpp.
| IRrecv::IRrecv | ( | int | recvpin, |
| int | blinkpin | ||
| ) |
Instantiate the IRrecv class.
Multiple instantiation is not supported.
| recvpin | Arduino pin to use, where a demodulating IR receiver is connected. |
| blinkpin | pin to blink when receiving IR. Not supported by all hardware. No sanity check is made. |
Definition at line 149 of file irRecv.cpp.
| void IRrecv::blink13 | ( | int | blinkflag | ) |
| int IRrecv::decode | ( | decode_results * | results | ) |
Attempt to decode the recently receive IR signal.
| results | decode_results instance returning the decode, if any. |
Definition at line 8 of file irRecv.cpp.
| void IRrecv::disableIRIn | ( | ) |
Disable IR reception.
Definition at line 185 of file irRecv.cpp.
| void IRrecv::enableIRIn | ( | ) |
Enable IR reception.
Definition at line 160 of file irRecv.cpp.
| bool IRrecv::isIdle | ( | ) |
Returns status of reception.
Definition at line 209 of file irRecv.cpp.
| void IRrecv::resume | ( | ) |
Called to re-enable IR reception.
Definition at line 215 of file irRecv.cpp.
1.8.18