Shop OBEX P1 Docs P2 Docs Learn Events
SNES Controller — Parallax Forums

SNES Controller

ArchiverArchiver Posts: 46,084
edited 2004-05-05 18:17 in General Discussion
I'm wondering if anyone has ever tried to connect a Super Nintendo
Controller to the basic stamp using the SHIFTIN command. It is a
synchronous serial device but I don't know how I should go about
writing the program. My main concern if with the Data latch pulse,
I have been told this can be done by just setting that pin low with
the LOW command. I really don't know though. Maybe someone with
some exprience with connecting a PS2 connller woud know. Any
information would be great. Thanks

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-05-05 18:17
    > I'm wondering if anyone has ever tried to connect a Super Nintendo
    > Controller to the basic stamp using the SHIFTIN command. It is a
    > synchronous serial device but I don't know how I should go about
    > writing the program. My main concern if with the Data latch pulse,
    > I have been told this can be done by just setting that pin low with
    > the LOW command. I really don't know though. Maybe someone with
    > some exprience with connecting a PS2 connller woud know. Any
    > information would be great. Thanks

    See: <http://www.fortunecity.com/underworld/doom/727/f_snes.html>.

    In summary:

    The SNES controller has three data pins plus +5V power and ground.·A high on
    the Data Latch pin for 12 us signals the controller to start sending data
    which is clocked by a sequence of 16 pulses (6 us high, 6 us low) on the
    clock pin. Serial data (8 buttons + 4 directions + 4 unused signals) is
    returned on the serial data pin.·The serial data is negative-edge triggered.

    --
    Enjoy,
    George Warner,
    Schizophrenic Optimization Scientists
    Apple Developer Technical Support (DTS)
Sign In or Register to comment.