I finally have my RS232 code working (thanks for all your help here)
I am almost finished on my project, but need to time stamp the RS232 data somehow, from device startup is fine, so for example i need to send out an Analogue Value from a pin, via RS232, but also need to add into the RS232, some accurate ish timing data, so i can tell how old it is compared the old value, so i have :-
Do
Send $$Time,Value
wait 10ms
Loop
And i need to know at the other end the time between them (because quite a few sentances will get lost/spooled on the way to the other device)
Can someone give me a hand working it out! I am using 57600 baud.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I finally have my RS232 code working (thanks for all your help here)
I am almost finished on my project, but need to time stamp the RS232 data somehow, from device startup is fine, so for example i need to send out an Analogue Value from a pin, via RS232, but also need to add into the RS232, some accurate ish timing data, so i can tell how old it is compared the old value, so i have :-
Do
Send $$Time,Value
wait 10ms
Loop
And i need to know at the other end the time between them (because quite a few sentances will get lost/spooled on the way to the other device)
Can someone give me a hand working it out! I am using 57600 baud.
Thanks