[PD] gpio on the raspberry pi from within pd ?

Miller Puckette msp at ucsd.edu
Fri Jan 25 17:48:47 CET 2013


Me, I was just planning to see how the python-GPIO library does it and
make similar Pd externs.  But I don't know what I'm doing :)

M

On Fri, Jan 25, 2013 at 10:12:49AM +0100, Antoine Villeret wrote:
> hi all,
> 
> i made a small program which uses GPIO to scan a keypad matrix and send OSC
> data to pd
> it depends on liblo and libbcm2835
> it's very specific to my project but could help someone...
> code is here : https://github.com/avilleret/pianophone
> 
> cheers
> 
> a
> 
> --
> do it yourself
> http://antoine.villeret.free.fr
> 
> 
> 2013/1/25 Charles Goyard <cg at fsck.fr>
> 
> > Hi Miller,
> >
> > Miller Puckette wrote:
> > > I think either I or a grad student (we'll see) will be writing a Pd
> > extern
> > > to do this efficiently -- for the moment it would be possible with a
> > Python
> > > script (using netsend/netreceive in Pd) but having an extern would be
> > more
> > > lightweight and probably more robust.
> >
> > great, thanks! Meanwhile I found out about webiopi, which can act as a
> > placeholder ATM. (http://code.google.com/p/webiopi/wiki/RESTAPI)
> >
> > Will you use /dev/mem and require root privileges, or the
> > /sys/class/gpio filesystem?  (see
> > http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=9667&p=198848 for
> > how to change permissions, non-standard !)
> >
> > --
> > Charlot
> >
> > _______________________________________________
> > 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