I am using the following to try and test the serin connection on an 08. All I get at the moment is PIN 2 going high and low when sending data. If I disconect the pin 3 from the pixace the program goes to neither: What should I use to send data? Telnet?
repeatforever:
SERIN 3,N2400,b0
b1= b0
high 2
pause 250
low 2
if b1="0" then red
if b1="1" then green
if b1="" then neither
goto repeatforever
green:
high 4
pause 250
low 4
goto repeatforever
red:
high 1
pause 250
low 1
goto repeatforever
neither:
high 4
high 1
pause 250
low 4
low 1
goto repeatforever
I have connect the diode and resisters as recommended in the documentation.
Thanks,
Jason
repeatforever:
SERIN 3,N2400,b0
b1= b0
high 2
pause 250
low 2
if b1="0" then red
if b1="1" then green
if b1="" then neither
goto repeatforever
green:
high 4
pause 250
low 4
goto repeatforever
red:
high 1
pause 250
low 1
goto repeatforever
neither:
high 4
high 1
pause 250
low 4
low 1
goto repeatforever
I have connect the diode and resisters as recommended in the documentation.
Thanks,
Jason