This might sound rather daft but here goes: How do I send an ASCII variable using SEROUT or SERTXD?
Before anybody mentions it, yes I kow how to send as part of a set string, ie:
However what I want to do is to check what is coming in, ie:
I know that B7 is either "A" or "V".
Or is this a simulator issue, as I am currently using this to test. Haven't built hardware yet.
Any ideas?
Thanks all,
MPep.
Before anybody mentions it, yes I kow how to send as part of a set string, ie:
Code:
SERTXD ("Hello World",13,10)
Code:
RMCIn:
serin DatIn,Baud,("RMC,"),b0,b1,b2,b3,b4,b5,b6,b7'
sertxd (#b7) '<----------------------- I am having trouble trying to send out the ASCII character stored in B7
if b7 != "V" then Main ' Check if data is Valid
Or is this a simulator issue, as I am currently using this to test. Haven't built hardware yet.
Any ideas?
Thanks all,
MPep.