Hi Hans and the PD list, <br><br>We are trying to use the PD Arduino firmware + PD patch that Hans has released. See <a href="http://at.or.at/hans/pd/objects.html">http://at.or.at/hans/pd/objects.html</a> and <a href="http://arduino.cc/">
http://arduino.cc/</a> for more info. Our goal is to use it a inputs only. (for now) <br><br>We realized that some analog inputs values were way too high. It worked, then it broked for some unknown reason. (apparently none) Then it worked again and broke again. So, we can say it is still unstable. 
<br><br>We think that it mighth be because of some equations in the Pduino Arduino code. We changed line 119 from : <br>transmitByte = transmitByte + (2^(i+1-startPin)*digitalData);<br>to : <br>transmitByte = transmitByte + (2^(i+1+startPin)*digitalData);
<br><br>Then, the analog-in stopped giving strangely high data. We found it strange the use of negative exponents (when startPin is 7). Was that a luck or what ? We had lot of fun debugging that. ;-D<br><br>--- <br>Regarding the digital inputs. In both cases, they were behaving strangely. Their state are constantly changing. Some work, but some not. Maybe it is just electric noise : should we ground everyother pin ? Probably. 
<br><br>In the PDuino PD patch, are the serial streams always parsed as being the same length ? It is supposed to be so, but might not in every case. Maybe it would be better to use the [match] object. (because the selector, meaning that it it the beginning of the list, is 255) Maybe sometimes, because of calculation error (?), the number 255 is sent again. 
<br clear="all"><br>Cheers, <br><br>-- <br>Alexandre Quessy<br><a href="http://alexandre.quessy.net">http://alexandre.quessy.net</a>