Thanks Nick that was a stumped fault on my side.
I have learned a lot from and i relay appreciate your help
I hope this will be my last Question on Serial communication for the 28x1. I still do not read serial data into b1 at leg 18 of the 28X1 withe this command (serin [4000],7,N4800,b1) see the total code below.
Have a nice day
Willie
'###################################################################################################################
#picaxe 28X1
main:
b1="X" 'Put X in b1 just to have a char in it
'My OLED disply is reprogramd t work on 2400 burd and is conected to the PICAZE 28X1 in leg 21 to TX data
'This part Clearsthe first line of the OLED and say Hello to indicate that the disply receve data
serout 0,N2400,(254,128)
serout 0,N2400,(" ") '
serout 0,N2400,(254,128)
pause 1000
serout 0,N2400,(" Hello ")
pause 1000
serout 0,N2400,(254,128)
serout 0,N2400,(" ")
'This goto the read in RS232 from (GPS)
' (at thie moment it is to read one Char from the PC terminal program at 4800 burd
gosub Lees
pause 1000
goto main
Lees:
'Send amesage to the OLED
serout 0,N2400,(254,128)
serout 0,N2400,("Wating for input")
'Send a mesage to the Terminal / PC
sertxd (10,13)
sertxd ("Wating for input")
'Waght for input from PC on leg18of the PICAXE 28X1
serin [4000],7,N4800,b1'----------------------------------------MY PROBLEM it never read anything in to b1
'Send the deceved Char to the OLED
serout 0,N2400,(254,128)
serout 0,N2400,(" ")
serout 0,N2400,(254,128)
serout 0,N2400,("Input= ",b1)
'Send the deceved Char to the PC/ Terminal Program
sertxd (10,13)
sertxd (" Input= ",b1)
sertxd (10,13)
return
'################################################################################################################