<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-fareast-language:DE;}
span.E-MailFormatvorlage18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.HTMLVorformatiertZchn
        {mso-style-name:"HTML Vorformatiert Zchn";
        mso-style-priority:99;
        mso-style-link:"HTML Vorformatiert";
        font-family:Consolas;
        mso-fareast-language:EN-US;}
span.E-MailFormatvorlage21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Sounds very interesting! Thanks, Alexandros!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><br>The script going from Pd through [shell] might be the easiest way, though.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>All I need to do is turning a yellow LED on when the software starts loading and a green LED when loading has finished.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:DE'>Fr</span></b><b><span style='mso-fareast-language:DE'>om:</span></b><span style='mso-fareast-language:DE'> Pd-list [mailto:pd-list-bounces@lists.iem.at] <b>On Behalf Of </b>Alexandros<br><b>Sent:</b> Wednesday, September 22, 2021 3:06 PM<br><b>To:</b> pd-list@lists.iem.at<br><b>Subject:</b> Re: [PD] How to talk to the Raspberry 4 GPIO and a multiple object question ?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><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].<span style='font-size:12.0pt;mso-fareast-language:DE'><o:p></o:p></span></p><div><p class=MsoNormal>On 21/9/21 6:53 μ.μ., Ingo wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><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.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>First of all a big thanks again for everybodys help me with the libraries ! ! !</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></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.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>I'm not sure what it was anymore - so, how can I connect from Pd atm?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>All I need to be able to do for now is turning on a few LEDs.</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Does [comport] recognize the GPIO of the RPi 4?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></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.</span><o:p></o:p></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.</span><o:p></o:p></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".</span><o:p></o:p></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.)</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Is it possible or will I have to prepend "cyclone" every time?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></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?</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>The libraries are currently loaded in alphabetic order in the ".pdsettings".</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US> </span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Thanks</span><o:p></o:p></p><p class=MsoNormal><span lang=EN-US>Ingo</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:DE'><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre><a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<o:p></o:p></pre><pre>UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a><o:p></o:p></pre></blockquote></div></div></body></html>