virtual terminal unknown text

novolts

Senior Member
Hi Guys
I have taken a screen shot of a basic circuit what I expected to see on the virtual terminal was "abcd" etc but as can be seen from the screen shot its some what different any advice will be appreciated my code is as follows

main:
for b1 = "a" to "z"
serout C.2,N2400,(b1)
pause 500
next b1
goto main


main:
serin C.4,n2400,b1

if b1 = "a" then
high 1
end if

if b1 = "m" then
low 1
end if

goto main

thanks to all
novolts
 

Attachments

lbenson

Senior Member
Likeliest cause: virtual terminal baud rate is not 2400.

Also possible with actual hardware: input expected to idle high ("T") when it's actually low ("N").
 

novolts

Senior Member
Ibenson
Your advice was spot on changed the baud rate in virtual terminal and I am now getting the letters displayed on the
virtual terminal
Again thanks for the help
Much appreciated
novolts
 
Top