MCPcopy Create free account
hub / github.com/Arduino-IRremote/Arduino-IRremote / available

Method available

src/IRReceive.hpp:539–541  ·  view source on GitHub ↗

* Returns true if IR receiver has received a complete IR frame (detected by timeout after last mark). */

Source from the content-addressed store, hash-verified

537 * Returns true if IR receiver has received a complete IR frame (detected by timeout after last mark).
538 */
539bool IRrecv::available() {
540 return (irparams.StateForISR == IR_REC_STATE_STOP);
541}
542
543/**
544 * Returns pointer to IrReceiver.decodedIRData if IR receiver data is available, else nullptr.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected