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

Antoine Villeret antoine.villeret at gmail.com
Fri Jan 25 10:12:49 CET 2013


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20130125/9f7e6fef/attachment.htm>


More information about the Pd-list mailing list