<div dir="auto">Pd-L2Ork also has disis_gpio and disis_spi that interface with if and gpio. The gpio object allows for both hardware and software PWM, and is also designed to work with actuators (e.g. servos).<br><br><div data-smartmail="gmail_signature">Best,<br><br>Ico<br><br>-- <br>Ivica Ico Bukvic, D.M.A.<br>Director, Creativity + Innovation<br>Institute for Creativity, Arts, and Technology<br><br>Virginia Tech<br>Creative Technologies in Music<br>School of Performing Arts – 0141<br>Blacksburg, VA 24061<br>(540) 231-6139<br><a href="mailto:ico@vt.edu">ico@vt.edu</a><br><br><a href="http://ci.icat.vt.edu">ci.icat.vt.edu</a><br><a href="http://l2ork.icat.vt.edu">l2ork.icat.vt.edu</a><br><a href="http://ico.bukvic.net">ico.bukvic.net</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 22, 2021, 09:12 Alexandros <<a href="mailto:adrcki@gmail.com">adrcki@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<p>Martin Peach had created two really nice objects, [pii2c] and
[pispi] for communicating with Pi's I2C and SPI interface through
its GPIOs. If you only want to light up an LED, it's perhaps
easier to write a Python script that does that and call it with
[ggee/shell].<br>
</p>
<div>On 21/9/21 6:53 μ.μ., Ingo wrote:<br>
</div>
<blockquote type="cite">
<div>
<p class="MsoNormal"><span lang="EN-US">Now that I got most of
my software running on the Pi - with much more performance
than I expected - I need to be able talk to the GPIO of the
RPi 4.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">First of all a big
thanks again for everybodys help me with the libraries ! ! !<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I know there had been
some changes a while ago with the RPi GPIO when some way to
interfacing with Pd dumped.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I'm not sure what it was
anymore - so, how can I connect from Pd atm?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">All I need to be able to
do for now is turning on a few LEDs.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Does [comport] recognize
the GPIO of the RPi 4?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">BTW, the libraries are
mostly working but I happen to have some trouble with
[speedlim] being in 3 different libraries.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">It's in Cyclone (which I
had been using before and is working fine) and also in
maxlib and iemlib.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The latter gives me
sometimes trouble but I don't know how I can get rid of
single objects in "iemlib".<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">(Sometimes it outputs a
float instead of a list. I have already [t list] in front of
it.)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Is it possible or will I
have to prepend "cyclone" every time?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Or is there another way
to make sure that the cyclone object will be used first
instead of the iemlib object?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The libraries are
currently loaded in alphabetic order in the ".pdsettings".<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Ingo<u></u><u></u></span></p>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
<a href="mailto:Pd-list@lists.iem.at" target="_blank" rel="noreferrer">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank" rel="noreferrer">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank" rel="noreferrer">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>