Programming Thread

Viewing single post

Started by the-pi-guy, Mar 13, 2016, 10:39 PM

previous topic - next topic

darkknightkryta

Sep 11, 2018, 01:51 PM Last Edit: Sep 11, 2018, 02:57 PM by darkknightkryta
So I was looking to create a joypad to jamma interface with a Raspberry Pi.  Turns out Python is the only way to do it without stabbing yourself in the face with a soldering iron.  But since I'd rather stab myself in the face with a soldering iron than use Python, I've been looking at the memory mapped code used in C.  dang macros.  Took me about an hour, but I figured out the justs of it.  There's still some things I need to figure out with what it's doing with the memory addresses and how macros work(In my 4.5 years in university I never had to use a macro).  I'm almost in a state where I can use the code, but I still need to figure out how input works since the programmers felt an example using the built in resistors is more important than an example with input.
Never mind, I found the input code.