<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">[sysex] is used for MIDI messaging and OSC is designed around network-based communication, hence the ethernet shield.<div class=""><br class=""></div><div class="">What I think you want is simple serial communication which is essentially sending / reading raw byte values. I would look into something like <a href="http://playground.arduino.cc/Code/CmdMessenger" class="">http://playground.arduino.cc/Code/CmdMessenger</a>.</div><div class=""><br class=""></div><div class="">The basic idea is similar to OSC, a protocol which determines which bytes are what and how to read them back correctly on the other end. I’m sure you could implement the CmdMessanger protocol in Pd using the [list toSymbol], [list fromSymbol], [oscparse], & [oscformat] object, or roll your own.</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--------<br class="">Dan Wilcox<br class=""><a href="https://twitter.com/danomatika" class="">@danomatika</a><br class=""><a href="http://danomatika.com" class="">danomatika.com</a><br class=""><div class=""><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Jun 1, 2016, at 8:29 AM, <a href="mailto:pd-list-request@lists.iem.at" class="">pd-list-request@lists.iem.at</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">From:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">Rick Snow <<a href="mailto:ricksnow@gmail.com" class="">ricksnow@gmail.com</a>><br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Subject:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><b class="">[PD] Pduino sysex vs. OSC advice</b><br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">Date:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class="">June 1, 2016 at 8:29:16 AM MDT<br class=""></span></div><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif; color: rgb(127, 127, 127);" class=""><b class="">To:<span class="Apple-converted-space"> </span></b></span><span style="font-family: -webkit-system-font, 'Helvetica Neue', Helvetica, sans-serif;" class=""><a href="mailto:pd-list@lists.iem.at" class="">pd-list@lists.iem.at</a><br class=""></span></div><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">Hello list!</div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;"><br class=""></div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">I am looking for some advice on sending messages from PD to an Arduino sketch.  Essentially, I plan to connect a mac to an Arduino via USB and control a large amount of variables within the Arduino sketch from PD.  </div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;"><br class=""></div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">Is using the sysex message with the [arduino] object message the way to go with this?  How can I "tag" the messages so that they go to the correct variable in the arduino sketch?  Is there a practical limit to the speed of such a system?</div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;"><br class=""></div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">I am much more familiar with using OSC messaging between applications but when I looked into using OSC with Arduino it seemed like I needed to use an ethernet shield (instead of connect via usb) and I would rather not go that route unless absolutely necessary.</div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;"><br class=""></div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">Any advice is much appreciated!</div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;"><br class=""></div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">cheers,</div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">Rick </div></div></div></blockquote></div><br class=""></div></body></html>