I know that use of Serial.println() in ISR is not appropriate but i am just using for debugging purpose
It is more than inappropriate. Until recent versions of the IDE it simply didn't work.
What version of the IDE are you using ?
I know that use of Serial.println() in ISR is not appropriate but i am just using for debugging purpose
It is more than inappropriate. Until recent versions of the IDE it simply didn't work.
What version of the IDE are you using ?