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

2013-02-15 Thread IOhannes zmölnig

On 02/15/2013 04:02 PM, João de Brito Rocha Reis Vidigal wrote:

"basically you can use the "gpio" command to set the pins up"

What command? Where in PD or terminal?


i guess he is referring to the [gpio] object. check the "test-gpio.pd" 
patch for a rudimentary documentation.


fgamsdr
IOhannes

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


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

2013-02-15 Thread João de Brito Rocha Reis Vidigal
OK!
Got the object on!...
However, I'm not quite sure of what to do with it now there is no help file on 
it.
Besides, I didn't really get what meant when said:

"basically you can use the "gpio" command to set the pins up"

What command? Where in PD or terminal? Does it have anything to do with the 
RPi.gpio python package?

Sorry... I'm an artist not really a programmer... I love this but I'm from 
another universe!___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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

2013-02-15 Thread IOhannes zmölnig

On 02/15/2013 03:00 PM, João de Brito Rocha Reis Vidigal wrote:

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

gpio: can't load library


where did you put the gpio.l_arm?
which Pd-version are you using? the one packaged with debian currently 
does not recognize the "l_arm" extension on the RPi-platform; you might 
want to rename the file to gpio.pd_linux on such a system


fgamsdr
IOhannes

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


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

2013-02-15 Thread João de Brito Rocha Reis Vidigal
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 +, 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@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


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


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

2013-02-14 Thread Miller Puckette
... 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 +, 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@iem.at mailing list
> > UNSUBSCRIBE and account-management -> 
> > http://lists.puredata.info/listinfo/pd-list
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

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


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

2013-02-14 Thread Miller Puckette
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 +, 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@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

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


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

2013-02-14 Thread João de Brito Rocha Reis Vidigal
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@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list