MCPcopy Create free account
hub / github.com/SmingHub/Sming / enableReceive

Method enableReceive

Sming/Libraries/RCSwitch/RCSwitch.cpp:608–611  ·  view source on GitHub ↗

* Enable receiving data */

Source from the content-addressed store, hash-verified

606 * Enable receiving data
607 */
608void RCSwitch::enableReceive(int pinNumber) {
609 this->nReceiverInterrupt = pinNumber;
610 this->enableReceive();
611}
612
613void RCSwitch::enableReceive() {
614 if (this->nReceiverInterrupt != -1) {

Callers 2

transmitMethod · 0.95
initFunction · 0.80

Calls 1

attachInterruptFunction · 0.50

Tested by

no test coverage detected