<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>close/open works for me.</div><div><br></div><div>.hc</div><br><div><div>On May 8, 2011, at 2:06 PM, Pierre Massat wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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&nbsp; (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. &nbsp;So after the [open 1( message, your patch needs to wait until the arduino finishes rebooting to send the configuration. &nbsp;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. &nbsp;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'm looking for a way to automate the opening of my arduino and it's pins. I managed to open it at pd's start-up with a loadbang and an open message. But it doesn'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. &nbsp; &nbsp;&nbsp; &nbsp;-A.J. Muste</div> <br></span></span> </div><br></div></blockquote></div><br> </div></div></blockquote></div><br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 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-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br class="khtml-block-placeholder"></div><div>----------------------------------------------------------------------------</div><div><br></div><div>"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity."&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;-John Gilmore</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>