Shop OBEX P1 Docs P2 Docs Learn Events
N64 Controller object — Parallax Forums

N64 Controller object

CJCJ Posts: 470
edited 2007-03-05 23:36 in Propeller 1
Here is an object for reading a N64 controller.

I will be uploading this to the object exchange as well.

edit: Fixed a bug with the LSB of the Y axis being cut off

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax Forums - If you're ready to learn, we're ready to help.

Post Edited (CJ) : 3/5/2007 11:34:43 PM GMT

Comments

  • boeboyboeboy Posts: 301
    edited 2007-03-05 14:09
    Hey CJ just FYI, all the sites that I have seen have said not to pull the data pin high it has an internal pull up resistor and thank you for making this.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    lets see what this does... KA BOOM (note to self do not cross red and black)
  • CJCJ Posts: 470
    edited 2007-03-05 14:26
    the N64 has a pullup of some sort, I just metered the console itself. as well as trying the test code with no pullup, it gives lots of random data if there is no controller plugged in and no pullup

    I wouldn't feed that data to any healthy robot. might break something if you don't have input smoothing

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax Forums - If you're ready to learn, we're ready to help.
  • boeboyboeboy Posts: 301
    edited 2007-03-05 14:34
    Ok sorry I just wanted to tell you

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    lets see what this does... KA BOOM (note to self do not cross red and black)
  • CJCJ Posts: 470
    edited 2007-03-05 15:05
    you don't have anything to be sorry for, you just voiced your concern about an inconsistency between whats on the internet and the circuit used for the object.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax Forums - If you're ready to learn, we're ready to help.
  • CJCJ Posts: 470
    edited 2007-03-05 23:36
    fixed a bug with the Y axis LSB, updated the attachment in the first post

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax Forums - If you're ready to learn, we're ready to help.
Sign In or Register to comment.