GPIO Re-assignment issue Retro PI/GBZ

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Golddeenoh
 
Posts: 10
Joined: Thu Dec 24, 2015 3:54 pm

GPIO Re-assignment issue Retro PI/GBZ

Post by Golddeenoh »

I am having problems getting the GPIO reassigned. I can change the pins out in retrogame.c but they are not responding when saved and going back into the Emulation Station. I have the RaspberryPi Zero with a 2.4 Adafruit TFT and the GPIO pins i am using are going through the TFT and out the 26pin connector and the built in button locations. I have gone in and changed the retrogame.c file to line up with what i wired in, and it is the same when i go back into it but i get no responses from all of the inputs. left down, start, select and "A" and "B" are working though the laster are picking up their input from the "X" and "Y" inputs.

Any ideas on what i amissing the make the changes so that i can use the GPIO inputs?

User avatar
Golddeenoh
 
Posts: 10
Joined: Thu Dec 24, 2015 3:54 pm

Re: GPIO Re-assignment issue Retro PI/GBZ

Post by Golddeenoh »

this is how it looks in case anyone wanted to see it.
Attachments
reduced20171211_160119.jpg
reduced20171211_160119.jpg (209.79 KiB) Viewed 213 times

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: GPIO Re-assignment issue Retro PI/GBZ

Post by adafruit_support_mike »

It sounds like your wiring doesn't match the pin assignments in /boot/retrogame.cfg.

Use a multimeter to make sure each GPIO pin on the RasPi is really connected to the button it's supposed to be.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”