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

Method RCSwitch

Sming/Libraries/RCSwitch/RCSwitch.cpp:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76#endif
77
78RCSwitch::RCSwitch() {
79 this->nTransmitterPin = -1;
80 this->setRepeatTransmit(10);
81 this->setProtocol(1);
82 #if not defined( RCSwitchDisableReceiving )
83 this->nReceiverInterrupt = -1;
84 this->setReceiveTolerance(60);
85 RCSwitch::nReceivedValue = 0;
86 #endif
87}
88
89/**
90 * Sets the protocol to send.

Callers

nothing calls this directly

Calls 3

setRepeatTransmitMethod · 0.95
setProtocolMethod · 0.95
setReceiveToleranceMethod · 0.95

Tested by

no test coverage detected