Sincronismo = ">"
...
'Transmite
Letra = "A"
serout Rf_Out, N2400, [Sincronismo, Letra]
'Receive
serout Rf_In, N2400, ">", Letra
the problem is here
if letra="A" then ... not work
Printable View
Sincronismo = ">"
...
'Transmite
Letra = "A"
serout Rf_Out, N2400, [Sincronismo, Letra]
'Receive
serout Rf_In, N2400, ">", Letra
the problem is here
if letra="A" then ... not work
You have "serout" on both
Quote:
'Transmite
Letra = "A"
serout Rf_Out, N2400, [Sincronismo, Letra]
'Receive
serout Rf_In, N2400, ">", Letra
You must use the command SERIN with this sintax:
' Wait until the character “A” is received serially on Pin1 and put next character into B0
SERIN PIN1,N2400,["A"],B0
good luckh