Try changing
Code:
DEFINE HSER_CLOERR 1 ' automatic clear overrun error
to
Code:
DEFINE HSER_CLROERR 1 ' automatic clear overrun error
the timeout may screw or not the whole thing, try to remove it first. Once you get it working, you may decide to use interrupt instead.
If it was for me, i would probably use a single WAIT and parse the whole string at the end to validate the result.
Last edited by mister_e; - 25th October 2006 at 14:55.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks