MCPcopy Create free account
hub / github.com/SmingHub/Sming / switchOff

Method switchOff

Sming/Libraries/RCSwitch/RCSwitch.cpp:172–174  ·  view source on GitHub ↗

* Switch a remote switch off (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

170 * @param nDevice Number of the switch itself (1..3)
171 */
172void RCSwitch::switchOff(char sGroup, int nDevice) {
173 this->sendTriState( this->getCodeWordD(sGroup, nDevice, false) );
174}
175
176/**
177 * Switch a remote switch on (Type C Intertechno)

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