<div dir="ltr"><div><div><div><div><div>My understanding is that [gpio] is based on wiringPi<br><a href="https://projects.drogon.net/raspberry-pi/wiringpi/">https://projects.drogon.net/raspberry-pi/wiringpi/</a><br></div>My understanding also is that wiringPi is the best of the bunch (in C, most direct access to the various pins, well written, most widely made use of, etc.)<br>
</div>There&#39;s a couple of nice utilities in wiringPi that could be extra objects for a PiLib, including a nice gpio swiss-army-knife type thing as well as i2c control.<br><br></div>If anyone&#39;s got the skills and some time (I don&#39;t have either currently) it could be a really useful addition for Pi and Pd.<br>
<br></div>All the best,<br><br></div>Julian<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 May 2013 16:06, Ali Momeni <span dir="ltr">&lt;<a href="mailto:batchku@gmail.com" target="_blank">batchku@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello all,<div>I came across Miller&#39;s gpio external and have been able to use it successfully.</div>
<div>I&#39;m now wondering what it would take to implement i2c control from within Pd also, in order to work with accessories/breakouts like:</div>
<div>-4 x ADC over i2c: <a href="https://www.adafruit.com/products/1085" target="_blank">https://www.adafruit.com/products/1085</a></div><div>-16 x servo/pwm over i2c: <a href="http://www.adafruit.com/products/815" target="_blank">http://www.adafruit.com/products/815</a></div>

<div><br></div><div>ladyada provides the necessary software and hardware...</div><div><br></div><div>have anyone given this some thought?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>ali</div></font></span></div>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, May 15, 2013 at 4:17 AM, J Oliver <span dir="ltr">&lt;<a href="mailto:jaime.oliver2@gmail.com" target="_blank">jaime.oliver2@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word"><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

Ooops, didn&#39;t realize it was off list, back in.</div><span><font color="#888888"><div style="word-wrap:break-word"><br></div><div style="word-wrap:break-word">J</div></font></span></span><br></span><br>

</div><div><div>
<br><div><div>On May 15, 2013, at 3:02 AM, Julian Brooks wrote:</div><br><blockquote type="cite"><div dir="ltr"><div><div><div><div><div>Hey Jaime,<br><br></div>My plan is to document the process when the piece is finished (hopefully within a week or so) and bundle the documentation with an image of the raspbian RPi OS - more than likely up on <a href="http://archive.org/" target="_blank">archive.org</a>.<br>


<br></div>I&#39;ll definitely let you know when it&#39;s done.<br><br></div>BTW - Martin&#39;s not in on this thread (is now)<br><br></div>Cheers,<br><br></div>Julian<br><div><div><div><div><div class="gmail_extra"><br><br>


<div class="gmail_quote">On 15 May 2013 06:17, J Oliver <span dir="ltr">&lt;<a href="mailto:jaime.oliver2@gmail.com" target="_blank">jaime.oliver2@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div style="word-wrap:break-word"><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">


Indeed the help patch is in that thread and I attach it here as well. the source is here:</div><div style="word-wrap:break-word"><a href="http://crca.ucsd.edu/~msp/syllabi/206.13w/pi-externs.tgz" target="_blank">http://crca.ucsd.edu/~msp/syllabi/206.13w/pi-externs.tgz</a></div>


<div style="word-wrap:break-word"><br></div><div style="word-wrap:break-word">Martin, Julian, do you plan to do some documentation / tutorial of the work you&#39;re doing?</div><div style="word-wrap:break-word">I haven&#39;t followed the thread in detail, but it looks like you guys have accomplished quite a bit of stuff...</div>


<div style="word-wrap:break-word"><br></div><div style="word-wrap:break-word">best,</div><div style="word-wrap:break-word"><br></div><div style="word-wrap:break-word">J</div><div style="word-wrap:break-word"><br></div><div style="word-wrap:break-word">


<br></div><div style="word-wrap:break-word"><br></div><div style="word-wrap:break-word"></div></span></span></div></div><br><div style="word-wrap:break-word"><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">


</div></span><br></span><br>
</div>
<br><div><div>On May 14, 2013, at 4:51 PM, Julian Brooks wrote:</div><br><blockquote type="cite"><div dir="ltr">Hey Ali, <div><br></div><div>Yes indeed... well, kind of.</div><div><br></div><div>For my project we have some C code that Martin Peach put together that pipes the sensor data into Pd via UDP.</div>



<div><br></div><div>Works really very well so have stalled on [gpio].  I did get data in and out of [gpio] without any issues though and Jaime improved the help patch considerably (well - he wrote one!)</div><div>
<br></div><div>My memory is that Jaime&#39;s help patch is on the thread you&#39;ve linked to and here&#39;s the rather lengthy one between Martin and I - watch out though there&#39;s lots of it (70+ posts currently).</div>



<div><br></div><div><a href="http://lists.puredata.info/pipermail/pd-list/2013-03/102003.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/2013-03/102003.html</a><br></div><div><br></div><div>All the best and give us a shout if there&#39;s anything specific,</div>



<div><br></div><div>Julian</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 14 May 2013 21:56, Ali Momeni <span dir="ltr">&lt;<a href="mailto:batchku@gmail.com" target="_blank">batchku@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div>hello friends,</div><div>i came across your post regarding GPIO on RPi from PD:</div><div><br>


</div>
<div><a href="http://lists.puredata.info/pipermail/pd-list/2013-04/102173.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/2013-04/102173.html</a><br>
</div><div><br></div><div>did you succeed in making this work?</div><div><br></div><div>thanks in advance,</div><div>ali</div></div>
</blockquote></div><br></div>
</blockquote></div><br></div><br></blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br></div></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>