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

Miller Puckette msp at ucsd.edu
Thu Feb 14 20:00:09 CET 2013


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