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

Method refresh

Arduino/libraries/ST_Anything/IS_Contact.cpp:56–59  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

54
55 //called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the contact sensor
56 void IS_Contact::refresh()
57 {
58 Everything::sendSmartString(getName() + (getStatus() ? F(" closed") : F(" open")));
59 }
60
61 void IS_Contact::runInterrupt()
62 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected