Hi Melanie,
I have just tryed this code but dont work,I'm tryed with this example just to see if this work:
Define LOADER_USED 1


Include "modedefs.bas" ' Mode definitions for Serout
ADCON1=7
define osc 4

DEFINE HSER_RCSTA 90h
DEFINE HSER_TXSTA 24h
DEFINE HSER_SPBRG 207 ' 1200 Bauds
DEFINE HSER_CLOERR 1

''''''''''''''''''''''''''''''''''''''''''''''''De coder'''''''''''''''''''''''''''''''''''''''''
Main:
ManchesterWord = %1010101001010101


ErrorFlag=0
For CounterA=0 to 7
If ManchesterWord.1=0 then
MyData.7=0
If ManchesterWord.0=0 then ErrorFlag=1
else
MyData.7=1
If ManchesterWord.0=1 then ErrorFlag=1
endif
ManchesterWord=ManchesterWord>>2
If CounterA<7 then MyData=MyData>1
next
hserout [Mydata]
pause 2000
goto Main

I become all the time 255255255255127127...... and so on.

Regard Pesti.