Craftee:
so i have this old peice of code here, and i get an error saying "The 'BYTE' keyword is no longer supported" so what do i use instead? please help!
This is a really confusing thread. I got the impression until the last post or so that you hadn't solved the above problem, after all the begging for help.
Instead, you have solved it and replaced it with another one (the sketch compiles but doesn't do what you expect).
You could have made that a lot clearer, instead of:
well when you process it, nothing, i got no errors with processing... so...
Now that you understand the pins on the Nintendo controller, hook up your jumper wires by using arrow’s colors from the photo above. (Note: The pins are fairly deep, be sure that your wires are deep enough and snug to insure a strong connection)
As for the other ends of the wires, place the RED wire from +5V on the Nintendo controller to 5V on the Arduino. Place the BLACK wire from GROUND on the NES controller to GROUND on the Arduino. Pretty straight forward.
Place the ORANGE wire from STROBE on the NES controller to Digital Pin 2 on the Arduino.
Place the WHITE wire from CLOCK on the NES controller to Digital Pin 3 on the Arduino.
Place the YELLOW wire from DATA on the NES controller to Digital Pin 4 on the Arduino.
NES Wired
edit, in serial monitoring, i get different numbers when i press a button, except when i press the "a" button, the number doesnt change. it spams "127"