I have a device that sends out 4 bytes of data, followed by a CR, LF.
How would I go about reading this data stream, and assigning the actual 4 bytes of data to 4 variables?
I could make changes to the host device to send the CRLF to precede the actual data; would that make things better?
Regards.