Hi...


As I understand it, I can use the serial formatting tags as follows:

For instance, If I send the text string 123, consisting of 3 bytes coding for the characters 1,2,and 3, but specify

HSERIN[DEC3 my_variable]

Then I will receive those 3 bytes and they will be interpreted, then stored in the variable my_variable


I have 2 questions about this:

How much overhead is involved - it would seem to require an ASCII lookup on the pic to convert from character codes to actual values, and more jiggery pokery to combine them all into one number ...


Also, what hapens if one of the characters sent is not a number - if, for instance, instead of sending 123 i send the string "abc", how will the code react ...?


Cheers,


Ben