You get the character, you get out of there as fast as possible, if there's a second character, you'll be redirected over there shortly.
Steve, in this case I must change sligthly the Tx string, adding a terminator character.
The code as it is, using "Hserin 100,ErrorFlag,[str Rdata\9]" works perfectly and Xout do the job.
I have got away from the trouble when I did remove the "XIN" command.
I am sure that XIN and Hserin/Hserout are not compatible for unknown (so far) reasons.
Since I need also the XIN, I am putting togheter a second prototype with two pics on board, so I will separate XIN/SEROUT2 commands, from Hserin/XOUT (Hardware solution to the problem)
Al.
All progress began with an idea
Bookmarks