I'm getting really crazy with these Altoids.
-
@Zigurana Yeah I like to make people laugh. Glad you enjoyed it and thank you for the compliment on my project =]
-
@celly Thank you. It was quiet a challenge. =]
-
@moosepr I'am having the worst time getting gpio buttons to work.
-
@thedudester80 oh no! :-( How far have you got?
-
@moosepr I got everything but my select button and Y button working. Heres how they are mapped on my gpio.
Start=4
up=17
select=11 Gpio 8 is already used for I2S amp so I could not use that.
down=27
left=22
right=23
A=24
B=10
X=9
Y=25
Ground is pin 6 for ground on my permaproto.The wiring is fine and the button works. I'm guessing its a programming issue. Any thoughts on what I did wrong? lol
-
@thedudester80 the only thing I can think is to check the config on the pi, make sure you don't have spi enabled, pin 11 is listed as the clock signal for spi so that could be conflicting
-
@moosepr Thats a good idea Ill do that and let you know how it went. Thank you.
-
@moosepr said in I'm getting really crazy with these Altoids.:
make sure you don't have spi enabled
Don't you need SPI to drive the screen? Maybe I'm missing something, but my GPIO-connected TFT needed SPI enabled.
-
@obsidianspider I'm not running a tft I'm using a composite display. So those pins are available. This may seem like a weird question but to edit the gpio inputs I go to the retropie.cfg file right ?
-
@thedudester80 said in I'm getting really crazy with these Altoids.:
@obsidianspider I'm not running a tft I'm using a composite display. So those pins are available. This may seem like a weird question but to edit the gpio inputs I go to the retropie.cfg file right ?
I'm not sure. On my Super Famicom Pi I'm using a SPI TFT so I had the "multiple things trying to use the same GPIO" problem. I abandoned GPIO for controller inputs and used a Raphnet USB adapter.
-
@obsidianspider Yeah I used a teensy but the pi zero can only take 1 usb input at a time so I could not use the usb hub. Now that my buttons are GPIO and all but 2 are working the hub is great to have to edit files with a keyboard and upload roms without taking it apart to get to the pi and micro sd. I just need to find a wire diagram of where all the buttons go and how to configure them to all work. This is my first time doing anything GPIO so its all new to me.
-
@thedudester80 Once you get it figured out, please let us know how you did it.
-
Ohh my god.. What a hilarious video. I laughed my ass out while watching it and what a lovely pocket size build :-P
-
@thedudester80 yeah you need to edit the code so it knows which gpio pin pretends to be which keypress. You then need to build the app again with the make commands. Once it is built you can run it in the command line just to test it, then add it into the startup so it's there every time. I used this to figure out out
https://learn.adafruit.com/retro-gaming-with-raspberry-pi/adding-controls-software
It's actually changed since I did mine, it doesn't need a recompile by the looks of it
-
@obsidianspider I will no problem =]
-
@Brigane Hey thanks. Im glad you think its cool and glad you laughed. =]
-
@moosepr Thanks Ill keep trying until it works. When I get it all figured out Ill try to make a tutorial video for you guys when I get time..... if the interest is there of course lol
-
@thedudester80 said in I'm getting really crazy with these Altoids.:
@moosepr Thanks Ill keep trying until it works. When I get it all figured out Ill try to make a tutorial video for you guys when I get time..... if the interest is there of course lol
You mean putting it in the toaster oven AND the dishwasher? ;)
-
@obsidianspider No Ill have something a bit easier to follow =] .
-
@obsidianspider Well I figured it out and now everything works as it should. I had one wire not in the right place..... go figure. Also I kept going to the wrong spot to edit my controls and at times I had 2 buttons programmed to the same output. Needless to say it was a lot simpler than I was making it. Learned a lot about counting pins and second guessing what I just counted before I soldered it up. Glad its all done and behind me. =]
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.