Hi,
Thanks people,yes the receiver is a pic and the transmitter is a pic,I have PIC16f870 and a UAA3201T.
For the moment I want to send from 1 to 5 byte no more, just for tests when this work then i can do more.
I attached the receiver to PortA.0 and I want to Decode the data for example 1 or more byte and then on PortA.1 send the data encoded to the transmitter.
I need a working manchester code ?!
And my second question is Are the binary data from receiver from left to right to be read or from right to left(I know that when I read binary data i starting from right 1,2,4,8,16,32 and so on) and to send did I send from left or right.
I write this little example to test if this work:
Main:
Manchesterword = %1001101001010110
For CounterA=0 to 7
If ManchesterWord.15=0 then
MyData=0
endif
If ManchesterWord.15=1 then
MyData=1
endif
ManchesterWord=ManchesterWord<<2
hserout[bin MyData]
next
pause 2000
goto main
Thanks people for the help.
Regard Pesti.
Bookmarks