---------------master pic------------------
TRISB.0=0
start:
serout Potrb.0,0,[1]
pause 1000
goto start
-----------------slave pic---------------------
DataRec Var byte
loop:
Serin PortA.0,0,DataRec
Serout portB.0,0,[DataRec]
goto loop
do you think that is correct?do you thnik that slave pic will recognize the 1?
thnks for all
Bookmarks