Quote Originally Posted by mackrackit View Post
I do not use spaces in the SERIN2. Try:
Code:
SERIN2 P1,N2400,10,Loop,[wait("T"),DATARECEIVED]
And maybe use 16780 instead of N2400? And DEC before DATARECEIVED.

Maybe
I haven't had a problem with spaces in PBP2.50, had problems back in 2.42 I think it was.
I've got a program that has about 50-60 different SERIN2 lines and they all look like:

SERIN2 serialinpin , 84 , 5000 , baddata , [ WAIT ( ">" ) , STR string\255 ]

Lots of spaces, etc.etc.etc...like I said, the older PBP, broke, newer, good.