Thanks, Ico!

 

I'll take a look at it!

 

From: Pd-list [mailto:pd-list-bounces@lists.iem.at] On Behalf Of Ico Bukvic
Sent: Wednesday, September 22, 2021 5:20 PM
To: Alexandros
Cc: Pd-list
Subject: Re: [PD] How to talk to the Raspberry 4 GPIO and a multiple object question ?

 

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).

Best,

Ico

-- 
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Institute for Creativity, Arts, and Technology

Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
ico@vt.edu

ci.icat.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net

 

On Wed, Sep 22, 2021, 09:12 Alexandros <adrcki@gmail.com> wrote:

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].

On 21/9/21 6:53 μ.μ., Ingo wrote:

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.

 

First of all a big thanks again for everybodys help me with the libraries ! ! !

 

I know there had been some changes a while ago with the RPi GPIO when some way to interfacing with Pd dumped.

I'm not sure what it was anymore - so, how can I connect from Pd atm?

All I need to be able to do for now is turning on a few LEDs.

 

Does [comport] recognize the GPIO of the RPi 4?

 

BTW, the libraries are mostly working but I happen to have some trouble with [speedlim] being in 3 different libraries.

It's in Cyclone (which I had been using before and is working fine) and also in maxlib and iemlib.

The latter gives me sometimes trouble but I don't know how I can get rid of single objects in "iemlib".

(Sometimes it outputs a float instead of a list. I have already [t list] in front of it.)

 

Is it possible or will I have to prepend "cyclone" every time?

 

Or is there another way to make sure that the cyclone object will be used first instead of the iemlib object?

The libraries are currently loaded in alphabetic order in the ".pdsettings".

 

Thanks

Ingo

 

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list