MCPcopy Create free account
hub / github.com/DanielOgorchock/ST_Anything / RCSwitch

Method RCSwitch

Arduino/libraries/RCSwitch/RCSwitch.cpp:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39unsigned int RCSwitch::timings[RCSWITCH_MAX_CHANGES];
40
41RCSwitch::RCSwitch() {
42 this->nTransmitterPin = -1;
43 this->setPulseLength(350);
44 this->setRepeatTransmit(10);
45 this->setProtocol(1);
46 #if not defined( RCSwitchDisableReceiving )
47 this->nReceiverInterrupt = -1;
48 this->setReceiveTolerance(60);
49 RCSwitch::nReceivedValue = NULL;
50 #endif
51}
52
53/**
54 * Sets the protocol to send.

Callers

nothing calls this directly

Calls 4

setPulseLengthMethod · 0.95
setRepeatTransmitMethod · 0.95
setProtocolMethod · 0.95
setReceiveToleranceMethod · 0.95

Tested by

no test coverage detected