close/open works for me.

.hc

On May 8, 2011, at 2:06 PM, Pierre Massat wrote:

I tried the 5000ms delay and it works perfectly.

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) ?

Thanks for your help!

Pierre

2011/5/8 Pierre Massat <pimassat@gmail.com>
Ok, I will try that. Thanks!

Pierre


2011/5/8 Hans-Christoph Steiner <hans@at.or.at>

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.

.hc

On May 7, 2011, at 4:44 PM, Pierre Massat wrote:

Hello!

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.
Any advice?

Pierre
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

There is no way to peace, peace is the way.       -A.J. Muste







----------------------------------------------------------------------------

"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity."        -John Gilmore