Quote Originally Posted by Tabsoft View Post
Andy,

You can always just use a "HSERIN" bogus statement to throw away anything in the buffer before you execute your regular "HSERIN" statements.
Since the EUSART has a 2 byte buffer you may need to do two of the bogus "HSERIN" statements with timeouts just to make sure you don't get stuck waiting.
Hi

I just put your suggestion in place and it seems to be working for me .... I just used 50 as a time out figure... thank you!

I will try the other suggestions also thank you as always Henrik

For now I need sleep !!!!!

Br
Andy