handles start of an interrupt - all derived classes should implement this virtual function
| 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() |
nothing calls this directly
no outgoing calls
no test coverage detected