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

Method isIdle

src/IRReceive.hpp:532–534  ·  view source on GitHub ↗

* @return true if available() is true or IR receiver has not received a mark/signal since last resume(). */

Source from the content-addressed store, hash-verified

530 * @return true if available() is true or IR receiver has not received a mark/signal since last resume().
531 */
532bool IRrecv::isIdle() {
533 return (irparams.StateForISR == IR_REC_STATE_IDLE || available());
534}
535
536/**
537 * Returns true if IR receiver has received a complete IR frame (detected by timeout after last mark).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected