Then the # is encountered and we do an hserout
Will we send a total of a 3 character string using hserout (in other words 24bits)
Hserout [str Ret_Char \ Ret_count-1], will send out a string of Ret_count-1 bytes, so "#" will not be sent
You could use SEROUT2
SEROUT2,pin,baud,[str Ret_Char \ Ret_count-1]
or you could use SEROUT
For A0 = 1 to Ret_count-1
Serout pin,baud,[Ret_Char [A0]]
NEXT A0
Al.
Bookmarks