<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br></div><div><br></div><div><br></div><div><div>On Sep 19, 2008, at 1:25 AM, Spencer Russell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">I've got an arduino with 5 capacitive distance sensors plugged into the analog ins. I just flashed the newest firmata-standard, and now things aren't working as expected.</div></blockquote><br><div dir="ltr"><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; "><div>First question, did you use the version of Firmata included in Arduino 0012?  That is now the real release version.</div><div><br></div></span></div><blockquote type="cite"><div dir="ltr">the first thing I do is connect to /dev/ttyUSB0, which works fine. Then I send the messages <br> <br>[analogIns 0 1(</div></blockquote><div><br></div><div>this enables analog input 0.</div><br><blockquote type="cite"><div dir="ltr">[analogIns 1, 1(</div></blockquote><div><br></div><div>Careful, the comma changes the meaning.  This disables analog input 1 (i.e. [analogIns 1 0() then sends a [1 (  alone.</div><div><br></div><div>.hc</div><br><blockquote type="cite"><div dir="ltr"><br><br>etc...<br><br>to the arduino object. The funny thing is that any given input only seems to turn on about 1 in 4 times I send the message. Once it's on PD receives the data like a champ. I tried adding delay between connecting via serial and turning on the inputs, but it didn't seem to help even when adding a 2 second delay after the connection, and 500ms delay between turning on each input.<br> <br>thanks,<br>spencer<br><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></div> </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; "><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; "><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"><div>----------------------------------------------------------------------------</div><div><br class="khtml-block-placeholder"></div><div>Access to computers should be unlimited and total.  - the hacker ethic</div><br class="Apple-interchange-newline"></span></span></span> </div><br></body></html>