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

Method init

Arduino/libraries/ST_Anything_RCSwitch/EX_RCSwitch.cpp:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 }
77
78 void EX_RCSwitch::init()
79 {
80 writeStateToPin();
81 Everything::sendSmartString(getName() + " " + (m_bCurrentState == HIGH ? F("on") : F("off")));
82 }
83
84 void EX_RCSwitch::beSmart(const String &str)
85 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected