Serial Input and Timer Interrupts

I'm trying to use a timer interrupt to process at specific periods of time. I have this configured and it works by itself.

In the loop() function I added code to check for serial input. Right now it just checks if there is a character available and then prints it back out the serial interface.

When I do the serial by itself it works fine. When I do the timer interrupt by itself it works fine. But when they run together, the timer interrupt works and the serial interface never reads any input data I give it. Is something being disabled by the interrupt that I need to change?

Thanks!

The serial code uses interrupts in the library so you may have a conflict

Others here have suggested avoiding interrupts in your code if possible to avoid these issues

Post your code so that we can look at it :slight_smile: