cute-98:
Grumpy_Mike:
Do not use print statements in interrupt service routines.Can i know why?
The Sparkfun tutorial on interrupts says:
Be aware though that it is important to keep the interrupt handler as short as possible because it prevents the processor from running its normal code, prevents other interrupts of lower priority, and could be called quite often depending what input you have connected. It's best to just update status variables and then leave, and let your normal program do the rest of the necessary work.
I'd guess that's why....