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

Method sendSync

Arduino/libraries/RCSwitch/RCSwitch.cpp:573–584  ·  view source on GitHub ↗

* Sends a "Sync" Bit * _ * Waveform Protocol 1: | |_______________________________ * _ * Waveform Protocol 2: | |__________ */

Source from the content-addressed store, hash-verified

571 * Waveform Protocol 2: | |__________
572 */
573void 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/**

Callers 2

sendTriStateMethod · 0.95
sendMethod · 0.95

Calls 1

transmitMethod · 0.95

Tested by

no test coverage detected