<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    You could also consider using [mrpeach/slipenc] and
    [mrpeach/slipdec] around the [comport] object, which allows you to
    perform OSC style communication using [mrpeach/packOSC] and
    [mrpeach/unpackOSC]. Just check the examples in the mrpeach library.<br>
    <br>
    <div class="moz-cite-prefix">Le 29/01/2020 à 11:00,
      <a class="moz-txt-link-abbreviated" href="mailto:pd-list-request@lists.iem.at">pd-list-request@lists.iem.at</a> a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:mailman.421.1580292038.1457.pd-list@lists.iem.at">
      <pre class="moz-quote-pre" wrap="">Date: Tue, 28 Jan 2020 23:45:09 +0100
From: katja <a class="moz-txt-link-rfc2396E" href="mailto:katjavetter@gmail.com" moz-do-not-send="true"><katjavetter@gmail.com></a>
To: "Dr. Maik Hester" <a class="moz-txt-link-rfc2396E" href="mailto:maik.hester@gmx.de" moz-do-not-send="true"><maik.hester@gmx.de></a>
Cc: <a class="moz-txt-link-rfc2396E" href="mailto:pd-list@lists.iem.at" moz-do-not-send="true">"pd-list@lists.iem.at"</a> <a class="moz-txt-link-rfc2396E" href="mailto:pd-list@mail.iem.at" moz-do-not-send="true"><pd-list@mail.iem.at></a>
Subject: Re: [PD] [pd] sending lists via [comport]
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAFY0eapMJK_cLh=EKDJcSPhTNiz4_aH1=NK1xeDNtXjL+xYepw@mail.gmail.com" moz-do-not-send="true"><CAFY0eapMJK_cLh=EKDJcSPhTNiz4_aH1=NK1xeDNtXjL+xYepw@mail.gmail.com></a>
Content-Type: text/plain; charset="UTF-8"

Have you tried the abstractions in <a class="moz-txt-link-freetext" href="https://github.com/alexdrymonitis/Arduino_Pd" moz-do-not-send="true">https://github.com/alexdrymonitis/Arduino_Pd</a>?

On 1/28/20, Dr. Maik Hester <a class="moz-txt-link-rfc2396E" href="mailto:maik.hester@gmx.de" moz-do-not-send="true"><maik.hester@gmx.de></a> wrote:
</pre>
      <blockquote type="cite" style="color: #000000;">
        <pre class="moz-quote-pre" wrap="">Dear list,

does anyone know how to send the different values of each line from the
sample below to [comport] as a list, strip this list in [pd] and route
the values to their different destinations?

The data comes via Arduino from a pixy cam.

Here is a sample from Arduino's serial monitor:

Detected 6
   block 0: sig: 2 x: 273 y: 36 width: 42 height: 5 index: 41 age: 18
   block 1: sig: 1 x: 272 y: 187 width: 36 height: 4 index: 37 age: 18
   block 2: sig: 1 x: 266 y: 151 width: 28 height: 4 index: 226 age: 71
   block 3: sig: 1 x: 274 y: 109 width: 20 height: 4 index: 155 age: 124
   block 4: sig: 2 x: 280 y: 48 width: 32 height: 2 index: 223 age: 72
   block 5: sig: 1 x: 240 y: 136 width: 24 height: 2 index: 52 age: 5

At the moment [comport] receives all the numbers one after another (e.g.
2  273  36  42  5  41  18 ...), so that it is impossible for me to tell
[pd] which number should go where.

I kept checking the internet for a solution for several days which did
not bring me any further, so I hope that someone in the [pd] community
could give me a clou.

Thanks
Maik




--
__
Dr. Maik Hester
Musiker, Musikwissenschaftler, Akkordeon-Restaurator
Himmelohstraße 23
D-58454 Witten</pre>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>