Hi,
I never use ON INTERRUPT myself and I haven't looked very closely at your code yet but the first thing that pops out is RCREG = DISCARD... Why do you write to RCREG?
If you want to flush it you should read it, ie. DISCARD = RCREG
/Henrik.
Hi,
I never use ON INTERRUPT myself and I haven't looked very closely at your code yet but the first thing that pops out is RCREG = DISCARD... Why do you write to RCREG?
If you want to flush it you should read it, ie. DISCARD = RCREG
/Henrik.
Hi,
You're right... i want to clean RCREG, so the right command is DISCARD = RCREG..
I changed this but the problem still happens.
Thanks
/Regis
Bookmarks