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

Method refresh

Arduino/libraries/ST_Anything/EX_Switch.cpp:83–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 void EX_Switch::refresh()
84 {
85 Everything::sendSmartString(getName() + " " + (m_bCurrentState == HIGH?F("on"):F("off")));
86 }
87
88 void EX_Switch::setPin(byte pin)
89 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected