Re: [PD] how to install and use GPIO external

2013-11-12 Thread Ingirafn Steinarsson
Hello. I found this thread and I am trying to compile the on the raspberry pi. I think I managed to but I was wondering where the gpio-help.pd files mentioned exist . Best Ingirafn ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management

Re: [PD] how to install and use GPIO external

2013-11-12 Thread Julian Brooks
Hi Ingirafn, This is the one that Jaime put together. Best of luck with it all, Julian On 12 November 2013 11:20, Ingirafn Steinarsson ingir...@this.is wrote: Hello. I found this thread and I am trying to compile the on the raspberry pi. I think I managed to but I was wondering where the

Re: [PD] how to install and use GPIO external

2013-11-12 Thread Ingirafn Steinarsson
Hi, I would like to ask about the compiling. I belived I compiled the code. No warning came up while doing it. I took out the -m32 with the # symbol, like here. # --- LINUX i386 and ia64 --- l_i386: $(NAME).l_i386 l_ia64: $(NAME).l_ia64 .SUFFIXES:

Re: [PD] how to install and use GPIO external

2013-11-12 Thread Martin Peach
The rpi uses arm architecture so you should be building for .l_arm Martin On 2013-11-12 15:00, Ingirafn Steinarsson wrote: Hi, I would like to ask about the compiling. I belived I compiled the code. No warning came up while doing it. I took out the -m32 with the # symbol, like here. #

Re: [PD] how to install and use GPIO external

2013-06-21 Thread Josh Downing
Awesome! I got it working! Thanks for all the help! One more question, does anyone know if you can set the internal pullup/pulldown for the GPIO pins from within PD and if so how you can set this? Thanks, Josh On Wed, Jun 19, 2013 at 5:52 PM, J Oliver jaime.oliv...@gmail.com wrote: On Jun

Re: [PD] how to install and use GPIO external

2013-06-19 Thread Julian Brooks
Hey Josh, In the gpio folder, do you have 'gpio.l_arm' ? i386 is for a different processor type and the rpi is arm. Keep going, you're nearly there:) Julian On 18 June 2013 22:37, Josh Downing jndown...@gmail.com wrote: Sorry for attaching the pics. Will avoid this in the future. Julian,

Re: [PD] how to install and use GPIO external

2013-06-19 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-18 23:37, Josh Downing wrote: cc -DPD -O2 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -Wall -W -Wshadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -I../pd/src -I../../pd/src -I../../../pd/src

Re: [PD] how to install and use GPIO external

2013-06-19 Thread Josh Downing
Thanks for the help guys! So I deleted the -m32 from the makefile and then everything seemed to build okay. I then added the correct path for the extension in pure data and loaded the gpio-help.pd patch without getting an error message. In the gpio-help.pd patch I would click enable 1 and then

Re: [PD] how to install and use GPIO external

2013-06-19 Thread Jaime Oliver
you need to be root. start pd with sudo. unless there is a more permanent solution by now? best, J On Wed, Jun 19, 2013 at 6:02 PM, Josh Downing jndown...@gmail.com wrote: Thanks for the help guys! So I deleted the -m32 from the makefile and then everything seemed to build okay. I then

Re: [PD] how to install and use GPIO external

2013-06-19 Thread Josh Downing
Thanks Jaime, that fixed my error problems. No errors now but I can't seem to figure out how to set the patch up to configure GPIO 17 as an input and then to read the state. I modified gpio-help.pd to do this by changing output 1 to output 0 (according to the patch output 0 should configure the

Re: [PD] how to install and use GPIO external

2013-06-19 Thread J Oliver
On Jun 19, 2013, at 7:07 PM, Josh Downing wrote: click enable 1, open 1, and then output 0. ok. No error messages but where should I expect to see the high/low state of GPIO 17? it should come out of the object into a number box or toggle as far as I can remember... put a number box in the

Re: [PD] how to install and use GPIO external

2013-06-18 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-17 22:03, Josh Downing wrote: How do I install this external? I can open the gpio-help.pd file in pure data but when I try to open it I get the attached error message (pd_error_message.png). meta for the future, would you mind posting

Re: [PD] how to install and use GPIO external

2013-06-18 Thread Julian Brooks
i'm not very familiar with the specific help-patch, but i do know a bit of Pd The joy of understatement. Josh, sounds like you haven't compiled the external yet. My memory (and I'm guessing here, don't have a Pi to confirm atm) is this: from the command line cd (change directory) to the gpio

Re: [PD] how to install and use GPIO external

2013-06-18 Thread Josh Downing
Sorry for attaching the pics. Will avoid this in the future. Julian, you are right, I have not compiled it. I did not know how to do this. When I navigate to the directory that I have unzipped the files (home/pi/pd-externals/gpio) and then type make it prints the following: cc -DPD -O2

Re: [PD] how to install and use GPIO external

2013-06-14 Thread Julian Brooks
Meant to add: Any other issues give us a shout and if I can help, I will. On 13 June 2013 09:56, Julian Brooks jbee...@gmail.com wrote: Hi Josh, The thread you're after is this one: gpio on the raspberry pi from within pd ? (ooh - big font) And Jaime's helpfile's attached. That

Re: [PD] how to install and use GPIO external

2013-06-13 Thread Julian Brooks
Hi Josh, The thread you're after is this one: gpio on the raspberry pi from within pd ? (ooh - big font) And Jaime's helpfile's attached. That should do it. Julian On 13 June 2013 06:37, Josh Downing jndown...@gmail.com wrote: I'm trying to figure out how to use the [gpio] external and