I'm using the Serial Communicator in MCSP which display TX and RX in the bottom status bar.
I'm using the Serial Communicator in MCSP which display TX and RX in the bottom status bar.
If you haven't already,double check each variable by re-sending each one individually,with and without LF,in combinations,to see if the answer falls out.The other possibility is the receiving program may have limits that are removing characters,like buffer size.
I use a program call Simple Terminal from BB Electronics.It runs in dos window,but displays everything.
I feel pretty dumb right now. If you look at the code there is no else if the if statement.
if temp.8 = 1 then ' If bit8 of temperature is set then its negative
sign = "-" ' Indicate temperature is NEGATIVE
temp.lowbyte = temp.lowbyte ^ 255 ' Reverse the bits of the lowbyte of TEMP
sign = "+" ' Indicate temperature is POSITIVE
endif
> So, no sign if positive , or + sign if negative ??? ... doesn't really mean the same.
> And I'm wondering if "sign" value is defined somewhere else ...if positive !
Alain
Last edited by Acetronics2; - 22nd August 2005 at 18:46.
Bookmarks