Page 2 of 2

Re: Alternate GBZ GPIO inquiry

Posted: Wed Dec 13, 2017 12:45 pm
by Golddeenoh
Somehow, i selected another image that had a shorter list for the inputs when PITFT is detected and edited that list to add the additonal button inputs and align it with my gpio, expand file system, update retropie, reboot and boom inputs are working, now to sort out the pwm for pin 12/GPIO 18. only doing mono sound so i migh have to remove part of the code line to keep it from interfering with the input (GPIO13 is an input).

Re: Alternate GBZ GPIO inquiry

Posted: Wed Dec 13, 2017 2:04 pm
by rodocop
Golddeenoh wrote:
Wed Dec 13, 2017 12:45 pm
Somehow, i selected another image that had a shorter list for the inputs when PITFT is detected and edited that list to add the additonal button inputs and align it with my gpio, expand file system, update retropie, reboot and boom inputs are working, now to sort out the pwm for pin 12/GPIO 18. only doing mono sound so i migh have to remove part of the code line to keep it from interfering with the input (GPIO13 is an input).
if you're only doing mono then use GPIO18 (NOT physical pin 18), and add this to the config.txt:

dtoverlay=pwm,pin=18,func=2
disable_audio_dither=1

Re: Alternate GBZ GPIO inquiry

Posted: Fri Dec 15, 2017 2:17 pm
by Golddeenoh
Managed to crash it after adding PWM code in to it and had to start over, it wouldn't boot up or load the display.

Re: Alternate GBZ GPIO inquiry

Posted: Fri Dec 15, 2017 3:00 pm
by Golddeenoh
I do manage to get a crackle when the GBZ is turned on so i'm getting something to the Speakers.

Re: Alternate GBZ GPIO inquiry

Posted: Sun Dec 17, 2017 8:10 am
by rodocop
Make sure you max the volume in retropie (should be an audio mixer in the retropie menu.

Also, that adafruit amp has a small pot on it that can be adjusted with a screw driver, make sure to adjust that as well.

Without seeing all the audio wiring I can't give much more advice

Re: Alternate GBZ GPIO inquiry

Posted: Tue Dec 19, 2017 11:47 am
by Golddeenoh
power supply went out on this now and also my other project i had started. fun times.

Re: Alternate GBZ GPIO inquiry

Posted: Thu Jan 04, 2018 7:12 pm
by Golddeenoh
The TFT uses GPIO18 for the Screen function, might be why I Don't get Audio. I'll take what I learned here and use it for further projects. (I currently have several in the works)