* Sends a "Sync" Bit * _ * Waveform Protocol 1: | |_______________________________ * _ * Waveform Protocol 2: | |__________ */
| 571 | * Waveform Protocol 2: | |__________ |
| 572 | */ |
| 573 | void RCSwitch::sendSync() { |
| 574 | |
| 575 | if (this->nProtocol == 1){ |
| 576 | this->transmit(1,31); |
| 577 | } |
| 578 | else if (this->nProtocol == 2) { |
| 579 | this->transmit(1,10); |
| 580 | } |
| 581 | else if (this->nProtocol == 3) { |
| 582 | this->transmit(1,71); |
| 583 | } |
| 584 | } |
| 585 | |
| 586 | #if not defined( RCSwitchDisableReceiving ) |
| 587 | /** |
no test coverage detected