PDA

View Full Version : to John Abshier about NES code



samsn4
11-09-2006, 03:47 AM
Thanks for the code, got a couple of questions:
note: I'm using the demo board

1. When connecting the controller yellow/data is at PO, orange/latch is at P1, red/clk is at P2, white/power is 5v, and brown/ground is at Vss?
2. If question 1 is true, and i'm using an actual NES brand controller, then it's recognizing the controller as a SNES.


What i'm working on is a robot tank with camera and microphone, the camera will be mounted to a pan/tilt servo and i want to controll it with a wireless NES controller. So when i push UP both motors will go forward, when i push left the right motor will forward and the left will go backwards . . .


Thanks for helping
Daniel Mueth

John Abshier
11-09-2006, 06:45 AM
I think that yellow is clock, red is data, and orange is latch. Which is different from what you described in your post.

samsn4
11-11-2006, 12:55 AM
Oh . . .Ok Thanks A bunch, i'll try that .

Thanks


Daniel

samsn4
11-11-2006, 02:31 AM
All i'm getting for an output on the monitor is:

"SNES"

then

"65535 1111111111111111"

and when i push a button the screen flashes like it refreshes but the text on the screen doesn't change.

again thank you

did you post the NES only version?

Post Edited (samsn4) : 11/10/2006 7:47:51 PM GMT

John Abshier
11-11-2006, 03:52 AM
I am not sure what code you are using. My object does not write "SNES" Perhaps you used that as a short cut for "SuperNES" Are you shure the screen flashes when you push a button. My test program refreshes the screen every second. Buttons return 0 when pressed. Attached is the old version that only works for NES.

samsn4
11-13-2006, 04:17 AM
Thanks John I'll try it out



Daniel