Shop OBEX P1 Docs P2 Docs Learn Events
to John Abshier about NES code — Parallax Forums

to John Abshier about NES code

samsn4samsn4 Posts: 49
edited 2006-11-12 21:17 in Propeller 1
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

Comments

  • John AbshierJohn Abshier Posts: 1,116
    edited 2006-11-08 23:45
    I think that yellow is clock, red is data, and orange is latch. Which is different from what you described in your post.
  • samsn4samsn4 Posts: 49
    edited 2006-11-10 17:55
    Oh . . .Ok Thanks A bunch, i'll try that .

    Thanks


    Daniel
  • samsn4samsn4 Posts: 49
    edited 2006-11-10 19:31
    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 AbshierJohn Abshier Posts: 1,116
    edited 2006-11-10 20:52
    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.
  • samsn4samsn4 Posts: 49
    edited 2006-11-12 21:17
    Thanks John I'll try it out



    Daniel
Sign In or Register to comment.