| 39 | unsigned int RCSwitch::timings[RCSWITCH_MAX_CHANGES]; |
| 40 | |
| 41 | RCSwitch::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. |
nothing calls this directly
no test coverage detected