This is really wierd. I have my PICAXE 18X and 28X1 connected to communicate serially, but it doesn't work very well. Here is the code on the 28X1:
serin 0,N2400,("go")
high 7
pause 100
low 7
pause 100
serout 4,N2400,("go")
serin 0,N2400,(b0)
high 7
pause 200
low 7
serin 0,N2400,(w6)
high 7
pause 500
low 7
pause 500
and on the 18X:
serout 7,N2400,("go")
serin 6,N2400,("go")
high 3
pause 100
low 3
pause 100
serout 7,N2400,(b8)
pause 300
serout 7,N2400,(w6)
The LED on output 7 for the 28X1 blinks once, and then the one on output 3 of the 18X, but it doesn't blink again. It hangs on the serin for b8. b8 is always a number from 10 to 70. Why is my text but not my bytes being sent?
serin 0,N2400,("go")
high 7
pause 100
low 7
pause 100
serout 4,N2400,("go")
serin 0,N2400,(b0)
high 7
pause 200
low 7
serin 0,N2400,(w6)
high 7
pause 500
low 7
pause 500
and on the 18X:
serout 7,N2400,("go")
serin 6,N2400,("go")
high 3
pause 100
low 3
pause 100
serout 7,N2400,(b8)
pause 300
serout 7,N2400,(w6)
The LED on output 7 for the 28X1 blinks once, and then the one on output 3 of the 18X, but it doesn't blink again. It hangs on the serin for b8. b8 is always a number from 10 to 70. Why is my text but not my bytes being sent?