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

Method send1

Arduino/libraries/RCSwitch/RCSwitch.cpp:523–533  ·  view source on GitHub ↗

* Sends a "1" Bit * ___ * Waveform Protocol 1: | |_ * __ * Waveform Protocol 2: | |_ */

Source from the content-addressed store, hash-verified

521 * Waveform Protocol 2: | |_
522 */
523void RCSwitch::send1() {
524 if (this->nProtocol == 1){
525 this->transmit(3,1);
526 }
527 else if (this->nProtocol == 2) {
528 this->transmit(2,1);
529 }
530 else if (this->nProtocol == 3) {
531 this->transmit(9,6);
532 }
533}
534
535
536/**

Callers 1

sendMethod · 0.95

Calls 1

transmitMethod · 0.95

Tested by

no test coverage detected