Hi all.
I have trawled the net and indeed the documentation for any information on how to get data to concatonate
I am using Hserin receive a single character (on an interupt) in the background
which works fine, but I need to get each set of characters to be recognised as a number. E.g
the computer sends a string S1234567E
S representing the start E end bits
If I wanted to put 123 in variable B0 and 4567 in B1 how would I go about this?
I am trying to avoid using any blocking on the part of the serial in as my application is time sensitive. (i.e no Hserin [WAIT("S"),DEC3 B0, DEC4 B1])
looking at some example code, my application is similar to the interupt driver example serbufx.bas
Maybe like a backwards DIG command?
I hope this makes some sort of sense.
Baz
Bookmarks