Connecting Processing to Multiple Arduino Yun

edited March 2014 in Arduino

I've tried the code showed here http://forum.processing.org/two/discussion/comment/11345 and it works perfectly to connect Processing to an arduino yun.

Now, I've got 2 questions:

  1. Is it possible to connect to multiple Yuns at the same time? I need to get datas from all the yuns connected to my network, to use it in the same program?

  2. My Yuns are programmed to execute only once, after a specific command (the loop is stopped until i run that command again). I added the command on the example but the Yun goes in loop, just as if the command was given endless times. I added "dataOut.writeChars("s");" immediately after the while(true) line. (s is the command needed). Where am i going wrong?

Sign In or Register to comment.