called periodically by Everything class to ensure ST Cloud is kept consistent with the state of the contact sensor
| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected