
Originally Posted by
Darrel Taylor
There is ...
The number of bytes to receive (50 in your case) is counted
DOWN in the HighByte of
R4 (PBP system variable).
So after a timeout, you can ...
Code:
RXcount = 50 - R4.HighByte
It has to be the very first thing you do after a timeout.
Executing any other PBP statements before getting the count, may change the R4 value.
hth,
Good info indeed.
Thanks Darrel.
Do you know how Dolphins meet their need for drinking water?
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks