You must use the command SERIN with this sintax:

' Wait until the character “A” is received serially on Pin1 and put next character into B0

SERIN PIN1,N2400,["A"],B0

good luckh