"Lone Wolf" <[EMAIL PROTECTED]> wrote:

> I'm trying to get data through my serial port from a CMUcam.
> This gizmo tracks a color and returns a packet of data. The
> packet has nine data points (well, really eight since the first
> point is just a packet header) separated by spaces as follows: M
> xxx xxx xxx xxx xxx xxx xxx xxx

8<----------------------------

Try splitting the stuff on the "M" first to separate the records,
then get rid of the newlines, carriage return, linefeed, whatever,
and then use the split on whitespace...

- HTH - Hendrik

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to