Arduino FREEZE

Hi!

On my arduin, rx led constant blink because he constantly receiving data from pc, and that's OK.

But after a while my Arduino hangs (freeze), probably because it is rx buffer full... How to solve this? Is there any way to flush rx buffer?

Thanks in advance, and sorry on my bad English :slight_smile:

Most likely you have a bug in your code, for example a buffer overflow or an out-of-memory condition.

Is there any way to flush rx buffer?

You could read all the characters out of it.

It would be useful to see your code.
Never heard of rx buffer overflow happening; it just wraps.