My friend mister_e,

The start byte the user set it by pressing push buttons and you can see it to leds.
So,

A.0=LED1 ;0 OR 1
A.1=LED2
A.2=LED3
A.3=LED4
A.4=LED5
A.5=LED6
A.6=LED7
A.7=LED8

hserout[13,10,DEC A,13,10]

---------------------------------------------------

By changing the A bit per bit I can see in my terminal the corect decimal A.

HSERIN 500,MAIN,[WAIT(A), STR SERDATA\17]
When I try to send with my terminal the start bit A & the stream the pic does not recognize nothing.

IF I have set A = 01010101 MANUAL the pic expect to read the start bit A = 55 HEX?