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

Method runInterrupt

Arduino/libraries/ST_Anything/InterruptSensor.cpp:89–95  ·  view source on GitHub ↗

handles start of an interrupt - all derived classes should implement this virtual function

Source from the content-addressed store, hash-verified

87
88 //handles start of an interrupt - all derived classes should implement this virtual function
89 void InterruptSensor::runInterrupt()
90 {
91 if(debug)
92 {
93 Everything::sendSmartString(getName()+F(" triggered ") + (m_bInterruptState?F("HIGH"):F("LOW)")));
94 }
95 }
96
97 //handles the end of an interrupt - all derived classes should implement this virtual function
98 void InterruptSensor::runInterruptEnded()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected