Page 4 of 5

Re: Easy way to setup the controller buttons via GPIO

Posted: Tue Jul 25, 2017 6:44 pm
by firestw152
Hey so I wanna try the GPIO audio again can you tell me more about picture B? like what is connected to A+ and A- on the adafruit amp?

Re: Easy way to setup the controller buttons via GPIO

Posted: Tue Jul 25, 2017 9:38 pm
by tinkerBOY
firestw152 wrote:
Tue Jul 25, 2017 6:44 pm
Hey so I wanna try the GPIO audio again can you tell me more about picture B? like what is connected to A+ and A- on the adafruit amp?
A+ can be directly connected to a PWM pin like GPIO18
A- connect to ground

Re: Easy way to setup the controller buttons via GPIO

Posted: Sat Sep 16, 2017 8:11 pm
by Firecakes
Having trouble with the download. when I try to unzip, it get an error message that the file "does not appear to be a valid archive"

any thoughts?

Re: Easy way to setup the controller buttons via GPIO

Posted: Sat Sep 16, 2017 8:53 pm
by tinkerBOY
Firecakes wrote:
Sat Sep 16, 2017 8:11 pm
Having trouble with the download. when I try to unzip, it get an error message that the file "does not appear to be a valid archive"

any thoughts?
What software are you using to unzip it?

Try 7zip.

Re: Easy way to setup the controller buttons via GPIO

Posted: Sat Sep 16, 2017 10:02 pm
by Firecakes
wow. welp, that did it. shame on winzip.

Re: Easy way to setup the controller buttons via GPIO

Posted: Fri Oct 13, 2017 11:43 am
by Stek692003
Having trouble, please can someone help.

I can't copy the "Adafruit-Retrogame" folder into "/home/pi".

I've tried to add it to samba share but failed? Can I just download this folder on the pi without using a pc

Re: Easy way to setup the controller buttons via GPIO

Posted: Fri Oct 13, 2017 7:58 pm
by tinkerBOY
Stek692003 wrote:
Fri Oct 13, 2017 11:43 am
Having trouble, please can someone help.

I can't copy the "Adafruit-Retrogame" folder into "/home/pi".

I've tried to add it to samba share but failed? Can I just download this folder on the pi without using a pc
Yes you can copy the folder any way you can.

Re: Easy way to setup the controller buttons via GPIO

Posted: Sun Oct 22, 2017 11:58 am
by firestw152
tinkerBOY wrote:
Fri Oct 13, 2017 7:58 pm
Stek692003 wrote:
Fri Oct 13, 2017 11:43 am
Having trouble, please can someone help.

I can't copy the "Adafruit-Retrogame" folder into "/home/pi".

I've tried to add it to samba share but failed? Can I just download this folder on the pi without using a pc
Yes you can copy the folder any way you can.
Is there a way to change the GPIO number after I ran the script? I accidentally set start and A as the same button as 23 and now I switch start to another pin but its acts as the same pin after I reboot.

Re: Easy way to setup the controller buttons via GPIO

Posted: Sun Oct 22, 2017 12:45 pm
by snoek09
firestw152 wrote:
Sun Oct 22, 2017 11:58 am
Is there a way to change the GPIO number after I ran the script? I accidentally set start and A as the same button as 23 and now I switch start to another pin but its acts as the same pin after I reboot.
tinkerBOY wrote:
Sat Jul 08, 2017 12:46 am
If you have different GPIO pin assigments then you can edit the file retrogame.cfg to suit your needs.
First post of topic has all instructions.

Re: Easy way to setup the controller buttons via GPIO

Posted: Sun Oct 22, 2017 2:02 pm
by firestw152
snoek09 wrote:
Sun Oct 22, 2017 12:45 pm
firestw152 wrote:
Sun Oct 22, 2017 11:58 am
Is there a way to change the GPIO number after I ran the script? I accidentally set start and A as the same button as 23 and now I switch start to another pin but its acts as the same pin after I reboot.
tinkerBOY wrote:
Sat Jul 08, 2017 12:46 am
If you have different GPIO pin assigments then you can edit the file retrogame.cfg to suit your needs.
First post of topic has all instructions.
And as I said in my post changing that did not work.