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

Method init

Arduino/libraries/ST_Anything/EX_Switch.cpp:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 void EX_Switch::init()
58 {
59 Everything::sendSmartString(getName() + " " + (m_bCurrentState == HIGH ? F("on") : F("off")));
60 }
61
62 void EX_Switch::beSmart(const String &str)
63 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected