[PD] GPIO -> Python (pyata) -> PD ?

João de Brito Rocha Reis Vidigal jbvidigal at gmail.com
Fri Feb 15 15:00:31 CET 2013


I can't seem to be able to install the externals package!
keeps returning:

gpio: can't load library

how dum am I being here!?


On 14 Feb 2013, at 19:00, Miller Puckette wrote:

... and oops, I see that the thread got split - on the other thread, the
solution from jack at rybn.org  (using built-in Pd objects, notably
|textfile|) also works, and is certainly the easiest way to get started.

cheers
Miller

On Thu, Feb 14, 2013 at 10:27:02AM -0800, Miller Puckette wrote:
> Alternatively, and perhaps a bit easier, you could grab my gpio object
> from http://crca.ucsd.edu/~msp/syllabi/206.13w/index.htm - it's very 
> unfinished, but basically you can use the "gpio" command to set the pins
> up, then crank up Pd and use a |gpio| object to read or write them - it
> works through the /sys/class/gpio/ mechanism and is fine for rates up to
> about 1000 per second (so it's limited by Pd's scheduling resolution).
> 
> cheers
> Miller
> 
> On Thu, Feb 14, 2013 at 05:26:20PM +0000, João de Brito Rocha Reis Vidigal wrote:
>> Hi guys!
>> Is it too stupid to assume that I can get control of the GPIO via python and send the data to PD via pyata!?
>> All I really need is to read a pushbutton!
>> 
>> tks
>> JV
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list