interrupts and while loops

Hi Folks! I have a simple question that I have been unable to find a simple answer to. Do interrupts still function in the middle of a while loop? Thanks. Brian

Yes.

But you should not be using interrupts as a substitute for a more suitable alternative to a WHILE loop.

You may like to look at the demo Several Things at a Time

...R

Thanks Folks. I appreciate the assistance. The purpose of my using the interrupts was to guarantee that I did not miss a specific action in my program. According to your answers this is precisely what I needed. Again, thanks. Brian

According to your answers this is precisely what I needed

That is not my conclusion from reading the thread but you have not been specific about what you are doing and how.

Feel free to use interrupts as you see fit, but understand the consequences.

while(!gotInterrupt)
{

}

There are many anti-interruptites here in the forum.