mmmm can't say you can do it elsewhere than in a interrupt handler routine... try TXSTA=0
OR do a loop to send your data byte/byte, do a test after each HSEROUT that say to continue or stop HSEROUT.
Code:
for SEndData = x to y
Hserout [Myvar[SendData]]
' set your stop/continue flag here and after that
'
If ContinueOrStop = Stop then SendData = y ' to get out of the loop
next
Last edited by mister_e; - 25th February 2005 at 03:44.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks