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

Method refresh

Arduino/libraries/ST_Anything/IS_Motion.cpp:63–66  ·  view source on GitHub ↗

called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the motion sensor

Source from the content-addressed store, hash-verified

61
62 //called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the motion sensor
63 void IS_Motion::refresh()
64 {
65 Everything::sendSmartString(getName() + (getStatus() ? F(" active") : F(" inactive")));
66 }
67
68 void IS_Motion::runInterrupt()
69 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected