What language to code a backround program in retropie
-
I want to write a program to work behind Retropie that uses bar-codes to lock and unlock the buttons of the arcade. I have never coded before so I would like to know what language I would need to use. Any help to help us go to the right direction would be much appreciated.
-
@LazyLizard python probably if you're hooking up to gpio. Bash wouldn't hurt either.
-
@herb_fargus So I googled "gpio", and it seems to be a controller that connects to a pi to connect game pads. However my hardware consists of a raspberry pi 2, Xin-Mo controller, and a bar code scanner that are connected to the pi through USB. Now can I still use python with my Xin-Mo controller? Also I couldn't find anything explaining what "Bash", is nor does.
P.S. i will be using "learnpython.org", to learn Python. Thanks again.
-
Welcome to the amazing world of computer programming! :-)
If you don't even know what GPIO is, maybe it's better to start with bash.
@LazyLizard said in What language to code a backround program in retropie:
I couldn't find anything explaining what "Bash", is nor does
Also, another guy asked something similar in this topic: https://retropie.org.uk/forum/topic/8683/where-can-i-learn-more-about-retropie-code/, maybe you can find useful links there.
Cheers.
-
@meleu Alright this Bash thing seems more my speed. I've read up to the function section and I already have a few ideas of what my functions will look like. I feel like its going to need an if statement or two. Thanks.
-
@LazyLizard This seems to be a great bash guide with cool tips and tricks:
http://mywiki.wooledge.org/BashGuideAnd if you have a specific question about bash, this is a really good resource to look at (even before searching in google):
http://mywiki.wooledge.org/BashFAQ
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.