I tried the 5000ms delay and it works perfectly. <br><br>One (last ?) question : It seems like i have to unplug the arduino before i want to open it again. Can you confirm that i cannot leave it plugged in and open/close the connection from within Pd  (I use linux) ?<br>
<br>Thanks for your help!<br><br>Pierre<br><br><div class="gmail_quote">2011/5/8 Pierre Massat <span dir="ltr">&lt;<a href="mailto:pimassat@gmail.com">pimassat@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Ok, I will try that. Thanks!<br><font color="#888888"><br>Pierre</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">2011/5/8 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;"><div><br></div><div>The tricky part about using Arduinos on GNU/Linux or Mac OS X is that they reboot when you connect to them.  So after the [open 1( message, your patch needs to wait until the arduino finishes rebooting to send the configuration.  With Pduino, the Arduino should report the version out of the right outlet once it finishes rebooting, so you could use that as a trigger to send the config.  Or just wait 5000 ms or something.</div>

<div><br></div><div>.hc</div><br><div><div><div></div><div><div>On May 7, 2011, at 4:44 PM, Pierre Massat wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div>Hello!<br><br>I&#39;m looking for a way to automate the opening of my arduino and it&#39;s pins. I managed to open it at pd&#39;s start-up with a loadbang and an open message. But it doesn&#39;t work for the digital pins. It seems like they need to be opened a little later, and not all at once. I tried to delay the loadbang and use and trigger, to no avail. <br>

 Any advice? <br><br>Pierre<br></div></div> _______________________________________________<br><a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>

</blockquote></div><br><div> <span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><br>

<span style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>

<br style="font-family: Tahoma;"></div><div>----------------------------------------------------------------------------</div><div><br style="font-family: Tahoma;"></div><div>There is no way to peace, peace is the way.       -A.J. Muste</div>

<br></span></span> </div><br></div></blockquote></div><br>
</div></div></blockquote></div><br>