|
-
June 11th, 2010, 09:05 AM
#11
Re: recieving 3 value in uart
Yes, which can be part of a pathname.
You could also use comma, colon, semicolon or any other character which you are sure will never be part of a number.
If you might get decimal numbers you should not use dor or comma.
If you are sure the numbers are never a date you can use "/" no problem.
In many cases it makes no difference to use Cr or Cr-Lf, only that when printed out the Cr-Lf is a standard sequence to advance to a new line. If you would receive records from your hardware with, say, hyperterm, it will always write to the same line again, because Cr only jumps backt to the beginning of the line. The Lf, however advances the cursor to the next line.
That's why I would prefer Cr-Lf. If in doubt you can receive your data with Hyperterm (which is a standard windows gimmick) to see if the sender provides valid data.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|