Hi,
I try to capture with audio visual method or connect direct from transmitter output to my second PIC.
But the problem is I can not make the same wave I dont know why!, I have tryed with 300 Baud then with 1200 but I can not have the same binary tone.
I use just a normal Serin command:
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
' Alias definition
' ================
'
'
RCIF VAR PIR1.5 ' Receive interrupt flag (1=full , 0=empty)
TXIF VAR PIR1.4 ' Transmit interrupt flag (1=empty, 0=full)
' Variable definition
' ===================
B0 var byte
pause 10 ' safe start-up delay
Main:
serin porta.0,N1200,B0
serout porta.1,N1200,[B0]
hserout [#B0]
goto main
This photo is what I have captured from my transmitter.
This wave is made from the transmitter 5 times.
I have found on the web how can I read this audio data but I dont know any more where is this homepage ! :-)
Bye Pesti.




Bookmarks