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

Method switchOn

Arduino/libraries/RCSwitch/RCSwitch.cpp:125–127  ·  view source on GitHub ↗

* Switch a remote switch on (Type D REV) * * @param sGroup Code of the switch group (A,B,C,D) * @param nDevice Number of the switch itself (1..3) */

Source from the content-addressed store, hash-verified

123 * @param nDevice Number of the switch itself (1..3)
124 */
125void RCSwitch::switchOn(char sGroup, int nDevice) {
126 this->sendTriState( this->getCodeWordD(sGroup, nDevice, true) );
127}
128
129/**
130 * Switch a remote switch off (Type D REV)

Callers

nothing calls this directly

Calls 5

sendTriStateMethod · 0.95
getCodeWordDMethod · 0.95
getCodeWordCMethod · 0.95
getCodeWordBMethod · 0.95
getCodeWordAMethod · 0.95

Tested by

no test coverage detected