This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Interrupt Service for gradually changing interrupts

Hello,

I have an issue regarding detecting and responding to ISR. I have one I/O pin associated for rising edge and adjacent pin for falling edge although the same signal is feeded to both interrupts. When we see input signal to those I/O pins, we see slow transition of signal (not like ideal square wave pattern) due to slow discharge of capacitor in the signal. Due to this slow transition intended ISR is not getting executed.

However, when i tried to put some delay inside ISR routine it works. But i dont know whether this is good stranded practice to have delay inside ISR.

Please suggest preferred way.

Thanks,

**Attention** This is a public forum